Hypothetical wishlist ideas #1847
Replies: 3 comments 13 replies
-
Something to do with data driven side effects - I.e, when the state matches X condition (probably driven by a selector), do Y, until it no longer matches that condition, in which case it's cancelled. Think for example, a music player where there is a selector that indicates if it should be playing or not. We can drive this by actions with things like thunk/sagas, but definitely becomes difficult if there's a million different actions that can change this state. |
Beta Was this translation helpful? Give feedback.
-
Well, personally I think one of the worst parts of redux experience is action dispatching. I understand that it's largely what makes defines redux, and I know that a hook analog to mapDispatchToProps was thought about and discarded, but I still believe that this part could have better DX. Somehow. (no specific ideas, sorry) |
Beta Was this translation helpful? Give feedback.
-
I'd like to see built in code splitting support in RTK. And I'd love to know your opinion of how this should look like. Regarding libraries offering just that (redux-dynostore, redux-injectors, redux-dynamic-modules) they are all, unfortunately, deprecated or semiabandoned. An out of the box solutions will probably encourage its use. |
Beta Was this translation helpful? Give feedback.
-
Opening this up for random ideas that we could at least consider adding to RTK or the Redux ecosystem someday. I'm creating this as a discussion rather than an issue because A) better threading, and B) won't annoy me if this never gets closed
Starting off, from a Reddit thread I bookmarked a couple years ago:
Beta Was this translation helpful? Give feedback.
All reactions