optuna-dashboard icon indicating copy to clipboard operation
optuna-dashboard copied to clipboard

Migrating to React v18

Open c-bata opened this issue 3 years ago • 0 comments

Summary

Optuna Dashboard now uses React v17.0.2. I created this issue to bump the version up to v18, and labeled this contribution-welcome. Please note that this issue is seemingly not easy such as just replaced the version of package.json. At least, I may need better understanding of React's Suspense component.

Release note of React-related libraries Optuna Dashboard uses

  • @types/react released the new version that supports React v18 types.
    • https://twitter.com/reactjs/status/1512453230504124420
  • react-testing-library v13.0.0 supports React v18.
    • https://github.com/testing-library/react-testing-library/releases/tag/v13.0.0
  • react-router v6 supports React v18.
  • mui v5.6.0 supports React v18.
    • https://github.com/mui/material-ui/releases/tag/v5.6.0

c-bata avatar Jun 01 '22 11:06 c-bata