Having a hell of a time upgrading from react native 39 to 40


(Sam Saffron) #1

We are struggling big time to upgrade from react native 39 to 4X due to:

I was wondering if anyone in the community could help us out with a PR that updates us properly as everything is open source:

Then we could use this PR as a reference PR for others that have the exact same issue (which seems fairly common)

cc @spicyj


(Sam Saffron) #2

As a followup, if anyone wants to take this a little “moonlighting” project Discourse will pay $300 dollars (to your paypal of choice) if you send through the PR.

If you are going to pick this up please reply here.

(note, if your reply goes in the “pending” queue, be sure to tweet at me, me twitter is @samsaffron)

re:

To clarify, the PR simply makes this thing compile on ios. So after said PR is applied, the following works:

react-native run-ios

For bonus points, if you are feeling brave rendering also gets fixed so this stops happening:


(Sam Saffron) #3

Update… @nihgwu on GitHub is giving this a shot


(Sam Saffron) #4

update, thanks to @nihgwu we are now up to date.

The biggest challenge appears to be getting all the dependencies to use new import format.