
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
@modular-toolkit/selectors
Advanced tools
Utility functions for connecting selectors for a state object to a global Redux state
Utility functions to use selectors for decoupled React components with a global Redux state.
npm install --save @modular-toolkit/selectors
Note: by default, the npm package exposes ES5-compatible code (transpiled through Babel).
If you want to use the untranspiled code (highly recommended), us the esnext version, which is included in the same npm package (more info here).
This is a drop in replacement for reselect.createSelector and is used to create composed, cachable selectors.
This drop-in replacement is required, because the original function provided by Reselect does not play nicely with the registerSelectorsForUseWithGlobalState module.
This utility function allows you to register selectors that use the context of a self-contained module to a global Redux state.
For an example, take a look at this code from the demo app:
import { registerSelectorsForUseWithGlobalState } from '@modular-toolkit/selectors';
import * as hackerNewsSelectors from '@modular-toolkit/demo-module/selectors';
export default () => registerSelectorsForUseWithGlobalState(
'modules.hackerNews',
hackerNewsSelectors
);
A version of redux-saga.select, allows you to use the global selector mechanism described above with Sagas.
Copyright © 2018 mobile.de GmbH
FAQs
Utility functions for connecting selectors for a state object to a global Redux state
The npm package @modular-toolkit/selectors receives a total of 1 weekly downloads. As such, @modular-toolkit/selectors popularity was classified as not popular.
We found that @modular-toolkit/selectors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.