You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react-native-router-flux v4.0.0-beta.15 (v3 is not supported)
react-native v0.47.1
Expected behaviour
No warnings
Actual behaviour
index.ios.bundle:13140 Warning: Cannot update during an existing state transition (such as within render or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to componentWillMount.
It seems that whenever we transition from one tab to another, we get this warning.
importRoutesfrom'./app/routes';
...
// Init the storeconstcreateStore=require('./app/store').default;conststore=createStore({});// Root component for the phone app.constApp=()=>(<Providerstore={store}><StyleProviderstyle={getTheme(commonColor)}><Viewstyle={{flex: 1}}><Routes/><ControllerConnModal/><FDConnModal/></View></StyleProvider></Provider>);AppRegistry.registerComponent('example',()=>App);
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Code above
Transition to another tab view.
Observe console
The text was updated successfully, but these errors were encountered:
Version
Tell us which versions you are using:
Expected behaviour
No warnings
Actual behaviour
index.ios.bundle:13140 Warning: Cannot update during an existing state transition (such as within
render
or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved tocomponentWillMount
.It seems that whenever we transition from one tab to another, we get this warning.
Steps to reproduce
Root render
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
The text was updated successfully, but these errors were encountered: