-
Notifications
You must be signed in to change notification settings - Fork 80
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
DEP Upgrade build stack #1303
DEP Upgrade build stack #1303
Conversation
ac257af
to
6fbe254
Compare
021752b
to
249c137
Compare
7ccc362
to
71fca2d
Compare
71fca2d
to
e584597
Compare
componentWillReceiveProps(props) { | ||
static getDerivedStateFromProps(props) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
componentWillReceiveProps
is deprecated and has been removed in React 18 - see this blog post.
The idea to use the static getDerivedStateFromProps
method came from this blog post
Check the comments in silverstripe/silverstripe-admin#1389 before reviewing this PR, as it will explain some of the changes made here. |
behat tests are allowed to fail at Max's request - we'll fix those up after all of the related PRs are merged. |
e584597
to
8606f34
Compare
Parent issue