-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revision of with-mobx example #3260
Revision of with-mobx example #3260
Conversation
Hi @michaelsbradleyjr ! Your I haven't tried your example yet but it sounds very promising. Watch out for the linting errors. The CI fails because of that. Use Standard style. Cheers 🍻 |
Try running |
@michaelsbradleyjr can you check the above 😄 |
Yes, just haven't had time yet, hopefully over this holiday weekend. Thanks for the reminder.
…Sent from my iPhone
On Nov 23, 2017, at 6:47 AM, Tim Neutkens ***@***.***> wrote:
@michaelsbradleyjr can you check the above 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
c9a1bef
to
d4025aa
Compare
I ran To be honest, I'm not sure this is ready to be merged. It was/is more of a proof of concept, and I was hoping to get a little more feedback. I'm wondering if I should extract the |
@michaelsbradleyjr I'll see if I can get a chance to check this out soon |
Lets keep the example simple for now 🙏 Thank you very much for your contribution! |
Agreed, I actually prefer @michaelsbradleyjr revised MobX example over the one now on the canary branch |
Adopting the withMobx wrapper by @michaelsbradleyjr seems to be the best way to integrate mobx with next. This shows up during HMR or while navigating between routes. |
It's been some time since I looked at this... quite a few things came up in my professional life and my time was diverted away from next.js and MobX. Tomorrow, I'll look at creating a standalone |
@michaelsbradleyjr sounds great! |
Working on it: https://github.com/michaelsbradleyjr/next-mobx-wrapper Converting the proof-of-concept into a package with good ergonomics has proved to be an interesting project. |
This pull request is not ready to merge; rather, it's a request for feedback and suggestions on how to improve integration of MobX with Next.js. See #3206.