js-stack-from-scratch icon indicating copy to clipboard operation
js-stack-from-scratch copied to clipboard

Migrate to React 15.5.0+

Open verekia opened this issue 8 years ago • 5 comments

Should be mostly the PropTypes changes:

https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

verekia avatar Apr 15 '17 11:04 verekia

Will this solve it? https://github.com/reactjs/react-codemod#react-proptypes-to-prop-types

lavebug avatar May 24 '17 17:05 lavebug

Has any1 done this successfully can you describe the steps, please.

lavebug avatar Jun 12 '17 20:06 lavebug

@lavebug it's described at https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

pronebird avatar Jun 24 '17 11:06 pronebird

Andrey have you done this migration so there is no warning for all those dependencies in your node_modules? Did you use react-codemod with JSCodeshift? Maybe list steps eli5 don't copy/paste the link from verekia up above.

lavebug avatar Jun 24 '17 14:06 lavebug

@lavebug I thought that was what you asked for.

Shortly, you migrate your code as described in the blog post. For third-party deps you go case-by-case but as far as I know many packages are not yet up to date. I wasn't able to get rid of the warning.

pronebird avatar Jun 24 '17 14:06 pronebird