Skip to content

agrcrobles/react-navigation-polyfill

Repository files navigation

Built in views in web

Demo on Heroku npm version

DEPRECATED: This module is deprecated. For a thorough discussion, please read the following blog post about navigating in all platforms with react-navigation.

Navigators views on web

Follow instructions below to make StackNavigator, TabNavigator and DrawerNavigator work on web or try starter below.

Starter

https://github.com/agrcrobles/react-native-web-boilerplate

Instructions

Install react-navigation

npm i --save react-navigation

Webpack configuration

  module: {
    rules: [
      {
        test: /\.js$/,
        include: [
          path.resolve(__dirname, '../node_modules/react-native-tab-view')
       ]
    }
  },
  resolve: {
    alias: {
      'react-navigation': 'react-navigation/lib/react-navigation.js'
    }
  }

About

This is meant somehow as a solution to follow discussions from react-navigation and react-native-tab-view.

License

MIT

About

DEPRECATED: somes experiments usng react-navigation in web

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published