-
Notifications
You must be signed in to change notification settings - Fork 753
Update to react 16 #792
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
Merged
Merged
Update to react 16 #792
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
dccc8de
Correct all deprecation warnings in addons
BookOfGreg 373f45a
Update React and React-dom to 16
BookOfGreg 68c9ed2
Prebundle React16 and new addons
BookOfGreg c616ee5
Update generator to React 16 proptypes and ES6 export
BookOfGreg c87d890
Include react-create-class in generator for non-es6
BookOfGreg 3cf34fb
Update test fixtures to use createReactClass
BookOfGreg cb66e31
Migrate more tests to React16, add createReactClass to dummyw3
BookOfGreg 7e450ab
Add reactCreateBuild to addons
BookOfGreg 32c9df3
Replace therubyracer with mini_racer
BookOfGreg e594694
Add PropTypes to default react bundle
BookOfGreg 896b4fc
Update README on PropType
BookOfGreg 6b0b878
Webpacker error changed, dont yell at JS errors
BookOfGreg 57f7adc
Stop scanning for React in JSX
BookOfGreg 61462c5
Merge update-to-chromedriver-for-js-tests into update-to-react-16
BookOfGreg aa65c48
Replace React.DOM with React.createElement
BookOfGreg 4b73b9f
Add Proptypes to React with addons
BookOfGreg 8ab2c7b
Remove Addons distributables
BookOfGreg 1ba1110
Stop checking for reactid as createElement doesnt make one
BookOfGreg 18faeed
Remove final references to React.createClass
BookOfGreg a8a9cd2
Give Webpacker ES6 import always
BookOfGreg 8883be9
Dont reference react where it can be compiled
BookOfGreg 691d2aa
Touch a file after a second to make it compile on fast computers
BookOfGreg 0c1e60c
Merge resolved
BookOfGreg d7adca6
Reorder appraisal file so I get the most interesting failures first
BookOfGreg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Include react-create-class in generator for non-es6
- Loading branch information
commit c87d89032866111cccc8209cf1efd9f2be211588
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it important to distinguish between these two varieties of preprocessed JS? I mean, what's the scenario where you want
require(...)
but notimport
?Anyone who's using webpacker will probably already use Babel (for JSX), right? So do you think one of these options would be sufficient by itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was tempted to scrap all the old style generators but was not sure on the effect it would have with sprockets + babel transpiler. I did what looked safe given I still don't fully know the system and saw the
option[:es6]
used nearby in the same file.Will continue on this path a little this afternoon, seems like the most pressing issue for now, then maybe the HMR ( 793 ) thing after once I get time.