-
Notifications
You must be signed in to change notification settings - Fork 38
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
Nav-frontend pakker støtter nå React v17 #979
Conversation
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.
Elsker dennen endringen! Bra jobba! ❤️❤️❤️
}; | ||
constructor(props) { | ||
super(props); | ||
this.state = { |
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.
Er det ikke lov med state = {}
rett på klassen i React 17?
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.
Er fortsatt lovt til det virker det som, men react klasse uten constructor var problemet. Klaget da på at implicit props spread ikke var lovt
nav-frontend-*
pakker har nå peer og devDep:react: ^16.8.0 || ^17.0.0
Motivasjon
Sideffects