Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
flux-router
Advanced tools
A router to use with Flux and React.
Flux Router is available on both bower and npm. You should get it from wherever you're using flux from, or if you're using something like browserify to compile your code you should get it from npm, so you can require
the module directly.
bower install flux-router
npm install flux-router
If you're using flux-router from npm, you should require the module in first. If you're using it from bower, fluxRouter
will be available in the global scope.
var fluxRouter = require('flux-router'); // only needed for npm
var router = new fluxRouter(Dispatcher);
You should instantiate Flux Router with your app's dispatcher, to avoid having more than one dispatcher per application.
If you wish to test Flux Router yourself, you will need to run
npm install
And if you don't have gulp
installed, also run
npm install gulp -g
Once gulp is installed, you can then run
gulp test
Tests are executed in Chrome, using Karma and Jasmine.
FAQs
Router for use with Flux and React
The npm package flux-router receives a total of 2 weekly downloads. As such, flux-router popularity was classified as not popular.
We found that flux-router 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.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.