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

upgrade react version to 18 #BLT-1231 #BLT-1232 #2939

Open
wants to merge 5 commits into
base: master-lts
Choose a base branch
from

Conversation

Iru89
Copy link
Contributor

@Iru89 Iru89 commented Nov 16, 2024

Description

@botonic/react

  • upgrade some dependencies to use react 18
  • remove @testing-library/react-hooks dependency and import renderHookand act from `"@testing-library/react``

@botonic/plugin-flow-builder

  • upgrade @botonic/react version and add ActionRequest type to fix tests

Published 0.31.0-alpha.2 versions for @botonic/react and @botonic/plugin-flow-builder

Testing

Fix some test

@Iru89 Iru89 changed the title Botonic react/react 18 upgrade react version to 18 Nov 16, 2024
@pull-request-size pull-request-size bot added size/L and removed size/M labels Nov 16, 2024
@Iru89 Iru89 marked this pull request as ready for review November 16, 2024 17:01
Copy link
Contributor

@vanbasten17 vanbasten17 left a comment

Choose a reason for hiding this comment

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

Looking good!! Let's push for other devs to use it ASAP and see everything is working correct before publishing latest! 👏 💯

@Iru89 Iru89 changed the title upgrade react version to 18 upgrade react version to 18 #BLT-1232 Nov 18, 2024
@Iru89 Iru89 changed the title upgrade react version to 18 #BLT-1232 upgrade react version to 18 #BLT-1231 #BLT-1232 Nov 18, 2024
Copy link
Contributor

@AlbertGom AlbertGom left a comment

Choose a reason for hiding this comment

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

The changes look good to me 🎉! However, I just wanted to check if you’ve considered some of the new behaviors introduced with createRoot in React 18, for example the concurrent rendering, which could impact how state updates or renders are managed.

Also, I’d recommend enabling Strict Mode if it’s not already in use. Could be helpful in finding potential issues, especially with the updated lifecycle behaviors in React 18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants