the-road-to-learn-react/react-mobx-local-state-example

Setup from Scratch

rwieruch opened this issue ยท 4 comments

Since it is a tedious task to upgrade all dependencies of an ejected create-react-app, maybe someone wants to help to set up this project with a fresh create-react-app version from scratch, ejecting it, installing MobX to it, and adding the implementation details of the App from before again.

Hi! By implementation details do you mean what's written currently in the readme.md file? I'd like to claim this!

Basically everything in src/ folder should be the same. But yes, also the README.md in the end :)

I think the simplest way to do it would be the following steps:

  • fork the repository
  • erase everything (except for the .git folder)
  • create a new React app with create-react-app 2
  • add MobX to it whereas I think eject is still needed for decorators
  • make it work as before with the implementation in the src/ folder files
  • copy the README.md, .gitignore and .travis.yml (if there is one) from the previous project to the new project
  • create a PR and let's merge it ๐Ÿš€

Notes:

  • don't worry about the registerServiceWorker.js file, because this is differently named in create-react-app 2

If you have time, it would be great to see someone else working on this :) The project is used by React beginners to dip their toes into MobX.

The same issue can be found for two other MobX projects over here:

I ejected and I'm working on it! Thank you for your help!

Thanks for your helo @brianabaker ๐ŸŽ‰