-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
mobx and create-react-app #521
Comments
Excellent, that will do the job! |
@EQuimper would you mind adding that to the README of create-react-app-mobx as alternative? |
@mweststrate Yes should be a good idea |
@EQuimper Good workaround, but I'd rather have more examples that demonstrate using mobx with standard syntax. Projects like e.g Aurelia have been suffered in the past by using experimental feature of jspm and babel, which later changed or where withdrawn. I'd rather have an option to not go down the same route. |
Now, you can push |
This article clearly explains how to solve this issue. Basically it all boils down to two simple steps: 1.
|
It would be great to see an example that works with
create-react-app
without having the need toeject
immediately in order to support the babeltransform-decorators-legacy
.Looks like
create-react-app
won't support legacy plugins (facebook/create-react-app#214) so it might be worth demonstrating using mobx with the OOTBcreate-reach-app
configuration instead.The text was updated successfully, but these errors were encountered: