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

chore: apply react strict mode and upgrade to React 17 [DET-5325] #2279

Merged
merged 5 commits into from
Apr 29, 2021

Conversation

hkang1
Copy link
Contributor

@hkang1 hkang1 commented Apr 26, 2021

Description

React Strict Mode is going to help us migrate to React v17.

  • apply React Strict Mode and fix all errors and warnings.
  • upgrade to React 17
  • check for any additional errors or warnings to fix

React Strict Mode Reference

Test Plan

  • run npm start and check to make sure all the pages still work
  • run npm run storybook and make sure it runs without errors
  • run npm run build-storybook and make sure it runs without errors

Commentary (optional)

Checklist

  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

@cla-bot cla-bot bot added the cla-signed label Apr 26, 2021
@hkang1 hkang1 force-pushed the 5325-react-strict-mode branch from 9908322 to ef4002e Compare April 26, 2021 18:32
@hkang1 hkang1 changed the title chore: apply react strict mode [DET-5325] chore: apply react strict mode and upgrade to React 17 [DET-5325] Apr 26, 2021
@hkang1 hkang1 requested review from apizzini and hamidzr and removed request for apizzini April 26, 2021 19:40
@apizzini
Copy link
Contributor

apizzini commented Apr 27, 2021

This is looking good aside for the logviewer issue, we should probably consider landing this after the release just so that we can have people play around with the WebUI for 2 weeks before releasing it.

@hkang1
Copy link
Contributor Author

hkang1 commented Apr 27, 2021

This is looking good aside for the logviewer issue, we should probably consider landing this after the release just so that we can have people play around with the WebUI for 2 weeks before releasing it.

👍 Yeah not looking to rush this one, because issues probably will popup up over time as it's a major upgrade.

@hkang1 hkang1 force-pushed the 5325-react-strict-mode branch from 57e6e50 to c9d668c Compare April 27, 2021 19:47
@hkang1 hkang1 assigned apizzini and unassigned hamidzr Apr 27, 2021
Copy link
Contributor

@apizzini apizzini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! 👍

@apizzini apizzini assigned hkang1 and unassigned apizzini Apr 28, 2021
@hkang1 hkang1 merged commit 57fd334 into determined-ai:master Apr 29, 2021
@hkang1 hkang1 deleted the 5325-react-strict-mode branch April 29, 2021 16:04
@hkang1 hkang1 restored the 5325-react-strict-mode branch April 29, 2021 16:04
@hkang1 hkang1 deleted the 5325-react-strict-mode branch April 29, 2021 16:04
@dannysauer dannysauer added this to the 0.15.4 milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants