We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey...I am getting the above error while I am trying to create scenes and use it in Router. I have added the code below.
My scenes.js
import React from "react"; import { Actions, Scene } from "react-native-router-flux"; import HomeContainer from "./Home/container/HomeContainer"; import StoreContainer from "./Store/container/StoreContainer"; const scenes = Actions.create( <Scene key="root"> <Scene key="home" component={HomeContainer} /> <Scene key="store" component={StoreContainer} /> </Scene> ); export default scenes;
index.js
import React, { Component, PropTypes } from "react"; import { Router } from "react-native-router-flux"; import scenes from "../routes/scenes"; import { Provider } from "react-redux"; export default class AppContainer extends Component { static propTypes = { store: PropTypes.object.isRequired } render(){ return ( <Provider store={this.props.store}> <Router scenes={scenes} /> </Provider> ); } }
Can anyone help me here?
The text was updated successfully, but these errors were encountered:
Please check 'breaking changes' first and search before create new issues #1992
Sorry, something went wrong.
@aksonov: Sorry...my bad.
No branches or pull requests
Hey...I am getting the above error while I am trying to create scenes and use it in Router.
I have added the code below.
My scenes.js
index.js
Can anyone help me here?
The text was updated successfully, but these errors were encountered: