Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Unable to use MobX decorators in React Native 0.57 #570

Closed
DaniAkash opened this issue Oct 13, 2018 · 3 comments
Closed

Unable to use MobX decorators in React Native 0.57 #570

DaniAkash opened this issue Oct 13, 2018 · 3 comments

Comments

@DaniAkash
Copy link

React Native 0.57 now uses a new preset metro-react-native-babel-preset which actually removes some used babel helpers in production.

This was first noticed in 0.56 and referenced in the following issue facebook/react-native#20150 and I have been using the work-around suggested by @farwayer in the issue's description. However after upgrading to 0.57 the workaround doesn't work any more and following the official documentation didn't help.

As it stands i'm unable to use mobx in my react native project upgraded to 0.57. Is there any plans to overcome this issue? Any workarounds will help too...

@DaniAkash
Copy link
Author

Managed to figure out the problem was actually with the upgrade... hence closing this issue.

@vTrip
Copy link

vTrip commented Sep 27, 2019

could share any information on what went wrong with your upgrade?

@DaniAkash
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants