3 ms·
I so often have logic that goes "get this thing from the Redux state if it's already in there; if it isn't, go fetch it (and we'll return here later when it's a
by Scarblac 9y ago
I so often have logic that goes "get this thing from the Redux state if it's already in there; if it isn't, go fetch it (and we'll return here later when it's added to the state)".
Seems others don't have that experience, I never see examples that do that in articles.
- wry_discontent 9y agoI often have the issue where I need access to some piece of state, like an id, which I can’t readily access in an action creator without using thunk, which I think encourages bad design.