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

React 18 #2807

Merged
merged 23 commits into from
Jul 31, 2024
Merged

React 18 #2807

merged 23 commits into from
Jul 31, 2024

Conversation

krzotki
Copy link
Contributor

@krzotki krzotki commented Jul 9, 2024

Upgrade to react 18 and fix tests

@krzotki krzotki changed the base branch from master to upgrade-react July 9, 2024 13:22
Base automatically changed from upgrade-react to master July 18, 2024 10:18
Copy link
Contributor Author

@krzotki krzotki left a comment

Choose a reason for hiding this comment

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

This has to be adjusted before proper release:
https://github.com/brainly/style-guide/blob/ce89f5797654776b19fb16d6133f3af1038fb337/src/components/dialog/Dialog.tsx#L53C8-L53C20

Because of:

next-dev.js:20 Warning: Dialog: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
    at Dialog (webpack-internal:///../../../node_modules/brainly-style-guide/esm/components/dialog/Dialog.js:246:20)

package.json Outdated Show resolved Hide resolved
@krzotki krzotki marked this pull request as ready for review July 29, 2024 13:31
@krzotki krzotki merged commit 8c1fb22 into master Jul 31, 2024
4 checks passed
@krzotki krzotki deleted the react-18 branch July 31, 2024 13:23
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.

3 participants