-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Looks like I'm doing something wrong.
index.android.js
'use strict';
import React, { AppRegistry, Component } from 'react-native';
import { Router, Actions, Scene } from 'react-native-router-flux';
import Home from './src/scenes/Home';
const scenes = Actions.create(
<Scene key='root'>
<Scene key='home' component={ Home }/>
</Scene>
);
class MyApp extends Component {
render() {
return (
<Router scenes={ scenes }/>
);
}
}
AppRegistry.registerComponent(MyApp', () => MyApp);
<Router scenes={ scenes }/> gives me action should be defined error pointing to Reducer.js:123
Using RN 0.21.0
Rmannn
Metadata
Metadata
Assignees
Labels
No labels