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

Update dependencies #527

Merged
merged 6 commits into from
Jul 2, 2022
Merged

Update dependencies #527

merged 6 commits into from
Jul 2, 2022

Conversation

rithvikvibhu
Copy link
Collaborator

Removed

  • file-loader - not used
  • @fortawesome/fontawesome-free - not used
  • rimraf - not used

Updated with code changes

  • react
    • Replaced deprecated componentWillReceiveProps
    • Replaced componentWillMount with componentDidMount
    • react-router: NavLink className are now functions for dynamic classes
    • react-hot-loader: disable warning not relevant to us
  • sass
    • wrap math operations with calc
  • uuid
    • new import syntax

Replaced

  • enzyme-adapter-react-16 -> @wojtekmaj/enzyme-adapter-react-17 - for react 16 -> 17

Major jumps

  • react - 16.6.3 -> 17.0.2
    • Can use hooks now!
  • electron - 17 -> 19
    • chrome v102, nodejs v16.14
    • they apparently release a new major version every 8 weeks 🥶

Cannot update

  • history - 4.7.2 to 4.10.1 is fine, but cannot update to v5 (breaking changes re relative pathnames)

@rithvikvibhu rithvikvibhu merged commit 44beb51 into kyokan:master Jul 2, 2022
@rithvikvibhu rithvikvibhu deleted the dep-update branch July 2, 2022 08:12
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.

None yet

1 participant