Next.js: Revision of with-mobx example

Created on 29 Oct 2017  路  4Comments  路  Source: vercel/next.js

I found the with-mobx example useful, but wanted to have <Provider> wrapping be a bit less manual for Next.js page-components. I looked to the withRedux helper function from the next-redux-wrapper project and got something working.

canary...michaelsbradleyjr:with-mobx-revised

Rather than make a pull request right away, I wanted to invite comments and suggestions as to whether this is a good idea or not, how it could be further improved, etc.

I haven't yet updated the README for the example since, based on your feedback, the way it works may continue to evolve.

Most helpful comment

+1 For MobX. Screw Redux.

All 4 comments

+1 For MobX. Screw Redux.

@michaelsbradleyjr I'd recommend you open a PR with this since it will get more attention there and it's a better place to review and discuss exact code changes. PRs don't have to be ready to merge to be opened.

Closing in favor of #3260.

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

formula349 picture formula349  路  3Comments

ghost picture ghost  路  3Comments

timneutkens picture timneutkens  路  3Comments

swrdfish picture swrdfish  路  3Comments

sospedra picture sospedra  路  3Comments