Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
actual-react-router-bootstrap
Advanced tools
Integration between React-Router and React-Bootstrap
Integration between React Router and React-Bootstrap.
Wrap your React-Bootstrap element in a LinkContainer
to make it behave like a React Router Link
:
<LinkContainer to={{ pathname: '/foo', query: { bar: 'baz' } }}>
<Button>Foo</Button>
</LinkContainer>
To disable the element and the link, set the disabled
prop on the LinkContainer
. For the equivalent of IndexLink
, use IndexLinkContainer
.
As with React Router's Link
, returning false
from an onClick
handler on LinkContainer
will prevent the transition. However, this behavior will not apply to any onClick
on the child, which instead will have to call event.preventDefault()
explicitly to prevent the transition.
Note: Releases from v0.20.0 onward only support React Router v2.x. For React Router 1.x support, use v0.19.3 or earlier.
npm install react-router-bootstrap
You will also want to have React Router and React-Bootstrap.
npm install react-router react-bootstrap
See CONTRIBUTING.
FAQs
Integration between React-Router and React-Bootstrap
The npm package actual-react-router-bootstrap receives a total of 2 weekly downloads. As such, actual-react-router-bootstrap popularity was classified as not popular.
We found that actual-react-router-bootstrap 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.