-
Notifications
You must be signed in to change notification settings - Fork 278
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
[sitecore-jss-nextjs]: Recommending fix to minimized React 18 warnings with nextjs & defaultProps errors #1936
base: release/21.0.0
Are you sure you want to change the base?
Conversation
Would be nice if the Sitecore team could backport this into v20 release, too, for those that are stuck on it for now :) alternatively, would you accept PRs to fix v20 versions as well @ambrauer ? |
@yavorsk is there any way that this can be expedited? |
@sengert-alliance I will bump now the priority of this and discuss to include it in the next hotfix for v21, thanks. |
In addition to
See the PR that fixed this for v22: #1784 |
…t props to elliminate react 18 defaultProps error
@coreyasmith I have migrated those changes to this PR as well. |
…efaultProps errors
Description / Motivation
Field Components have been updated to solve issue with react 18 throwing warnings that defaultProps is deprecated.
This change is to update fields to alleviate defaultProps warnings caused by react 18 which was introduced in jss version 21.7.0 where nextjs was upgraded to next 14.
Testing Details
Ran existing tests to make sure that nothing broke
Types of changes