React Router
Last updated
Last updated
and .
Internally, uses for browser based apps and for react native apps. Moreover, re-exports both packages on their respective platforms.
Run the following command in the plugin directoy:
Then in your boot function, pass the plugin like this:
This plugin registers following components in the Component registry, so they can be reused later by other apps and plugins:
Link: ,
Route: ,
Switch: ,
Redirect: ,
None.
This is the default configuration set that is used at boot time.
Properties
Extends Plugin
React Router (v4) plugin to add routing capabilities to BlueRain Apps.
Properties
This plugin saves router
object in the BlueRain context. This can be accessed in the following way:
Properties
withRouterActions higher order component that passes router action functions inside router
prop. The functions include: push, replace, go, goBack, goForward
Parameters
Component
Component
androidBackButton
[default: true] Listen for Android Back button on React Native.
deepLinking
[default: false] Enable deep linking on react native.
pluginName
"ReactRouterPlugin"
slug
"router"
history
React Router's history object