- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.3k
Closed
Labels
P3T-TaskTasks for the team like planningTasks for the team like planningX-BlockedZ-Community-PRIssue is solved by a community member's PRIssue is solved by a community member's PR
Description
This afternoon, I took a random detour to get Riot working with React 16, for the sake of investigating how difficult this would be. I succeeded, but obviously the diff is huge, so we might not want to do this "right now".
I did not manage to get the react-sdk tests working, primarily because matrix-react-test-utils needs similar treatment (being made compatible with React 16).
Steps to upgrade riot-web, matrix-react-sdk and matrix-react-test-utils:
- Update various npm dependencies to most recent versions:
- draft-js-export-html
- draft-js-export-markdown
- react
- react-dom
- react-gemini-scrollbar
 
- Apply react-codemod JSCodeshifts on /srcand/test- React-PropTypes-to-prop-types
- will fail on trailing commas at the end of prop types
- and where there is more than one "React.PropTypes" on a single line
 
- class
- Might render the box it's running on totally useless for a few minutes...
 
 
- React-PropTypes-to-prop-types
- s/react-addons-test-utils/react-dom\/test-utils/
- Fix cases where the React context API has changed(?)
Metadata
Metadata
Assignees
Labels
P3T-TaskTasks for the team like planningTasks for the team like planningX-BlockedZ-Community-PRIssue is solved by a community member's PRIssue is solved by a community member's PR