Skip to content
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

Correct all deprecation warnings in addons #798

Merged
merged 10 commits into from
Oct 2, 2017
Merged

Correct all deprecation warnings in addons #798

merged 10 commits into from
Oct 2, 2017

Conversation

BookOfGreg
Copy link
Member

@BookOfGreg BookOfGreg commented Oct 2, 2017

This PR is a squashup of most of the changes in React 16 #792 but without the actual deletion of addons or update to React 16.

Fixes #699
Fixes #768
Fixes #797


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

Replace -> With
react-addons-transition-group -> react-transition-group/TransitionGroup
react-addons-css-transition-group -> react-transition-group/CSSTransitionGroup
react-addons-update -> immutability-helper
react-addons-test-utils -> react-dom/test-utils

Prebundle new addons

Update generator to extracted proptypes and ES6 export

Include react-create-class in generator for non-es6

Update test fixtures to use createReactClass

Replace therubyracer with mini_racer

The ruby racer pegged libV8 to V3 which is too old for 'Set' which is
now standard in JS. The ruby racer therefore cannot be supported this
gem.

Update README on PropType

React is compiled away in JSX transformer using Import syntax

Update javascript driver to headless chrome

Update travis to remove phantom

Replace React.DOM with React.createElement

Stop checking for reactid as createElement doesnt make one

React.DOM used reactid but createElement does not
https://reactjs.org/blog/2016/03/07/react-v15-rc1.html#documentcreateelement-is-in-and-data-reactid-is-out

Give Webpacker ES6 import always

AG-Systems and others added 9 commits April 18, 2017 22:24
Reference: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

Replace -> With
react-addons-transition-group -> react-transition-group/TransitionGroup
react-addons-css-transition-group -> react-transition-group/CSSTransitionGroup
react-addons-update -> immutability-helper
react-addons-test-utils -> react-dom/test-utils

Prebundle new addons

Update generator to extracted proptypes and ES6 export

Include react-create-class in generator for non-es6

Update test fixtures to use createReactClass

Replace therubyracer with mini_racer

The ruby racer pegged libV8 to V3 which is too old for 'Set' which is
now standard in JS. The ruby racer therefore cannot be supported this
gem.

Update README on PropType

React is compiled away in JSX transformer using Import syntax

Update javascript driver to headless chrome

Update travis to remove phantom

Replace React.DOM with React.createElement

Stop checking for reactid as createElement doesnt make one

React.DOM used reactid but createElement does not
https://reactjs.org/blog/2016/03/07/react-v15-rc1.html#documentcreateelement-is-in-and-data-reactid-is-out

Give Webpacker ES6 import always
@BookOfGreg BookOfGreg merged commit 3657729 into reactjs:master Oct 2, 2017
@BookOfGreg BookOfGreg deleted the update-react-15-to-no-deprecations branch October 2, 2017 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Addons are Deprecated.
3 participants