react-native-debugger
react-native-debugger copied to clipboard
Redux devtools with "autoselect instance" -> will autoselect @react-navigation
I use React Native Debugger to inspect the redux state of my react native app.
React navigation automatically creates an instance called "@react-navigation" in the redux devtools each time I live reload (see screenshot).
With auto select instances turned on, @react-navigation takes precedence over the new redux store instance. It's very annoying because I must manually select the new redux store instance each time I live reload.
- every load @react-navigation appears in the autoselected instances
- every time redux store has a different name
React Native Debugger app version: [0.10.6] React Native version: [0.61.4] Platform: [iOS] Is a real device: [No] Operating System: [FILL THIS OUT: macOS]
Currently the devtools didn't remember selected instance when reload the app even we specified instanceId
option. This can be improved by saving instance.selected.
@jhen0409 can you provide some example of how to use instance.selected
?
Because I have the same problem as aymkin