
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
react-navigation-polyfill
Advanced tools
It could be unnecesary and deprecated in the near future when in
react-navigation
bring support to built in views for web.
It brings all behaviors from the built-in views of react-navigation from the native to the web.
Try navigation playground on web.
npm i --save react-navigation react-navigation-polyfill
Resolve alias in webpack
Navigate!
DrawerNavigator can't be used on web, instead this polyfill is wrapping the native one.
TabNavigator can't be used on web, instead this polyfill is wrapping the native one.
StackNavigator can't be used on web, instead this polyfill is wrapping the native one.
Use react-native-web-boilerplate as a simple starter
Use flow anotation from react-navigation
This module is meant somehow as a solution to follow discussions from react-navigation and react-native-tab-view and because so far it is the way to make native navigators work on web.
PR, stars ✭ and issue reporting, welcome.
MIT
FAQs
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 Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.