This package has been deprecated

Author message:

this

react-navigation-polyfill

0.3.1 • Public • Published

Built in views in web

  • It is a polyfill for react-navigation to make web be like native when it comes to navigations.

It could be unnecesary and deprecated in the near future when in react-navigation bring support to built in views for web.

Motivation

It brings all behaviors from the built-in views of react-navigation from the native to the web.

Demo

Try navigation playground on web.

Quick start

  • Install dependency
npm i --save react-navigation react-navigation-polyfill
  • Resolve alias in webpack

  • Navigate!

Navigators

DrawerNavigator

DrawerNavigator can't be used on web, instead this polyfill is wrapping the native one.

TabNavigator

TabNavigator can't be used on web, instead this polyfill is wrapping the native one.

StackNavigator

StackNavigator can't be used on web, instead this polyfill is wrapping the native one.

More info

Create React App

Supported

Starter

Use react-native-web-boilerplate as a simple starter

Flow annotation

Use flow anotation from react-navigation

About

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.

CONTRIBUTING

PR, stars ✭ and issue reporting, welcome.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i react-navigation-polyfill

Weekly Downloads

0

Version

0.3.1

License

MIT

Last publish

Collaborators

  • agrcrobles