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
Warning: Cannot update during an existing state transition (such as within renderor 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`
an error:
Uncaught RangeError: Maximum call stack size exceeded
observations
The problem came after passing mapStateToProps to ConnectedRouter:
I just did a little digging. Would you mind explaining why does the component need to be stateless?, I suspect that the <Field /> component is not stateless and so, not compatible with the react-native-router-flux render.
No, I don't have any. Please give me link to repo so I can reproduce that issue. Please also check pure react-navigation, maybe the issue is from there: react-navigation/react-navigation#1589
bug
using react-native-router-flux with
<Field />
from redux-form, I run into warnings and an error.versions
expected behavior
No warnings and no error
actual behavior
errors
observations
mapStateToProps
to ConnectedRouter:I just did a little digging. Would you mind explaining why does the component need to be stateless?
, I suspect that the<Field />
component is not stateless and so, not compatible with the react-native-router-flux render.@necsoft resolved the problem switching from
to
updating could be solution, or was a solution at this time and with react-router.
step to reproduce
<ConnectedRouter />
<Scene />
<Page />
<Form />
The text was updated successfully, but these errors were encountered: