Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
react-router-magic
Advanced tools
Like react-router but with magic inside
Yet another Router for React. It has an API similar to react-router exept matching is not include and it use context
to bypass SCU blocked update.
This package is under developement, do not use it in production.
This package is highly inspired by react-router
but it differ in two major way:
location
is passed via context even if shouldComponentUpdate
is implemented : We use a subscribtion system to make sure all Route
are updated when the location
changes.react-router
, react-router-magic
expect a pattern which is just a class that must implement two methods (match
& compile
). This mmean you can use whatever logic you want to match paths. If you want something similar to what react-router
does, you can use path-pattern.You need NodeJS and NPM or Yarn.
npm install react-router-magic --save
or
yarn add react-router-magic
We use SemVer for versioning. For the versions available, see the releases on this repository.
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
Like react-router but with magic inside
The npm package react-router-magic receives a total of 2 weekly downloads. As such, react-router-magic popularity was classified as not popular.
We found that react-router-magic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.