-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
I need to store the current page in redux. So onChangeTab
triggers a redux action to set the state. Redux state in turn must be able to set the page via (the misnomer) initialPage
. As it's navigating to the page though, I get more onChangeTab
events which trigger redux changes which etc. etc. and now it's totally out of control.
The possibilities are either:
- This is simple and I'm making it difficult
- I can make this work with clever flags and switches on my end
- The API needs an additional feature (scroll end?) or some sort of latch to prevent this
- This is just a bad idea to begin with and there's a better way to do what I'm trying to do
I can see the argument for all four. Glad to invent a solution, but curious for direction before embarking. Thanks!
tituswoo, nick-merrill, SerzN1 and eseQ
Metadata
Metadata
Assignees
Labels
No labels