ignite icon indicating copy to clipboard operation
ignite copied to clipboard

app-navigator should be observer component to detect MST

Open MusabBasheer opened this issue 2 years ago • 1 comments

What's going on? app-navigator does not listen to MST changes

Steps to reproduce

  1. use any store inside app-navigator
  2. 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.

MusabBasheer avatar Mar 13 '22 09:03 MusabBasheer

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

conoremclaughlin avatar Jun 07 '22 19:06 conoremclaughlin

Fixed! will be released in Ignite v8: Maverick

yulolimum avatar Aug 16 '22 00:08 yulolimum