
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
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
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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.