-
Notifications
You must be signed in to change notification settings - Fork 221
Upgrading to React 16 - Implement Error Boundaries and Polyfills #532
Comments
These changes shouldn't take more than an hour, with the exception of maybe the Error Boundaries. I'd need to understand the scope of their necessity, but if all is a go then by all means. Just at minimum do the requestAnimationFrame polyfill. |
@sethbergman I am working on upgrading this to React 16. |
@jenniferkaplannyc @sethbergman is mid cherrypick on this issue - apologies. We'd love to have you join our Slack team. Somebody of your calibre could be very useful on many of our issues. |
We need access to our CI/build process to debug the issues arising from implementing React 16 in production. |
I was having this same problem when I tried to upgrade your site, but then I saw the issue was closed so I deleted my files. However, were there any depreciation warnings in the previous version of React? If so, lets fix those to see if that resolves the issue when upgrading. |
We're on 15.4, not 15.6 as it states in the article. There would need to be an upgrade to 15.6 first I believe. |
But yes there were many peerDependencies that were giving warnings. |
Linking this one here too: https://medium.com/ecmastack/what-you-need-to-know-about-react-16-a4e216522041 |
I think we should work through those first. If that is too time consuming then lets keep it on the current version of React.
… On Oct 2, 2017, at 12:32 PM, Seth Bergman ***@***.***> wrote:
But yes there were many peerDependencies that were giving warnings.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#532 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AWBNPZujJD9bf0qLYV156hjxz_t_vU2wks5soRAYgaJpZM4Pp9vN>.
|
Perhaps a good next step would be to move to 15.6 to have more visibility on deprecation warnings. |
Yes, that is a very good idea!
… On Oct 2, 2017, at 12:35 PM, Kyle Holmberg ***@***.***> wrote:
Perhaps a good next step would be to move to 15.6 to have more visibility on deprecation warnings.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#532 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AWBNPS-nM3H5GmlmYTr5a46nz7j5DFZ6ks5soRDQgaJpZM4Pp9vN>.
|
I agree wholeheartedly! |
@jenniferkaplannyc or @sethbergman feel free to grab #556 |
I'm about to take a nap. 👍 |
@sethbergman @kylemh Any hints on how to locally test if the shims and polyfills work correctly? |
I'm not sure why were not receiving dev warnings for dependencies, but I'm fairly certain that Storybook, React-Modal, and another few components have not yet made the move to React 16, thereby blocking this issue. |
@kylemh Does this still need to be open? package.json shows that we're already on React v16 . |
@jjhampton nope |
Feature Update
#510 Needs additional, very simple fixes
React version 16 is fresh out of the master branch and the changelog notes some minor breaking changes.
Why is this feature being added?
Version 16 adds some great new functionality, but needs some love to get it upgraded safely.
Bug Report
Implement polyfills in Jest.
Implement polyfills for ES6
map
andset
.Implement polyfill for
requestAnimationFrame
Implement Error Boundaries
https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html#introducing-error-boundaries
The text was updated successfully, but these errors were encountered: