Mobx and Redux in the same app? #3061
Answered
by
mweststrate
artemis-prime
asked this question in
General
Replies: 2 comments 2 replies
-
Michel replied: yeah I'd do it reducer per reducer, and store the observable object that (pasted from other question) @mweststrate |
Beta Was this translation helpful? Give feedback.
2 replies
-
keeps your redux reducers working for the logic they're responsible for.
But listen, just play with it, experiment some. There are probably a dozen
ways you could approach that, but you have the context on it, anyone here
knows nothing about your concrete code, so any recommendation is going to
be super abstract, and you'll just have to dive into and see where it gets
you to get more informed than what is suggested here.
…On Fri, Aug 20, 2021 at 2:58 PM Artem Ash ***@***.***> wrote:
"so that in the state tree all the leaves become mobx observable objects
piece by piece? "
@mweststrate <https://github.com/mweststrate>, what does that achieve?
(My redux knowledge isn't that deep since I've been using that upstart MobX
thing for years ;) )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3061 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN4NBEUJ4FBZTVJQ2WLXOTT5ZNOTANCNFSM5CKSFRHA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
artemis-prime
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If one's goal is to slowly transition a Redux app to Mobx, is there any reason why one could not do it gradually and piecemeal? For example, have both in the system at the same time, go page by page, or store domain by store domain? I've always imagined it should be fine, but have never tried. Thanks for all the outstanding work Michel! Mobx rocks.
Beta Was this translation helpful? Give feedback.
All reactions