How to bootstrap child state with refreshable modifier #2500
Replies: 1 comment
-
I solved this myself. I decided to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently implement a screen that displays a list of favorites as follows. within the refreshable list, child state retrieve favorite state with
onAppear
action.There are no issues first appear, but when refresh action is triggered, child view's
onAppear
is not called. so child state's bootstrap is not completed with refreshable.If I wish to perform the child State's bootstrap in child reducer, what would be the best approach to implement this?
I am considering the following two solution, but are there any other options available?
Beta Was this translation helpful? Give feedback.
All reactions