ignite
ignite copied to clipboard
app-navigator should be observer component to detect MST
What's going on? app-navigator does not listen to MST changes
Steps to reproduce
- use any store inside app-navigator
- inside app-navigator UI use store prop to show UI based on conditions like
{authenticationStore.isAuthenticated ?
<AppStack/>
:<AuthStack />
} 3- observe no change happened when store prop value changed.
We bumped into this issue as well with swapping stacks. AppNavigator currently does not re-render. Likely related: https://stackoverflow.com/questions/71257766/rerender-appnavigator-on-state-change
Fixed! will be released in Ignite v8: Maverick