
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
focal-redux
Advanced tools
Focal-Redux allows you to use all the power of Focal in a Redux application.
It helps you to implement Focal's Atom in the Redux application by simplifying the code refactoring when you want to switch from Redux to Focal.
Futhermore, you can use all the advantages of both state-management in your application.
For example, Focal can help you with large collections of data or form management, and so on.
$ yarn add focal-redux
or
$ npm install --save focal-redux
You should wrap your Reducer or ReducersMapObject with subscribeAtom function.
This function will automaticaly add action @@UPDATE_STORE@@ which will be dispatched when your atom updates.
import {subscribeStore} from 'focal-redux'
// Reducer:
subscribeAtom(reducer)
// ReducersMapObject
combineReducer(subscribeAtom({ //reducers }))
You should subscribe your atom to store using subscribeStore function:
subscribeStore(atom, store)
npm start: Runs npm run build in watch modenpm run test: Run test suitenpm run test:watch: Run test suite in interactive watch modenpm run build: Generage bundles and typingsnpm run lint: Lints codeIf you think that we are missing any key features, please open a GitHub issue, or even better, a pull request. Any feedback you have about using focal-redux would be greatly appreciated.
FAQs
Unknown package
The npm package focal-redux receives a total of 3 weekly downloads. As such, focal-redux popularity was classified as not popular.
We found that focal-redux demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.