-
Notifications
You must be signed in to change notification settings - Fork 82
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
Develop remove default props #1950
Conversation
d68aab8
to
285416c
Compare
285416c
to
9dced76
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1950.westeurope.2.azurestaticapps.net |
AccountSelectorMulti.defaultProps = { | ||
onSelectAll: () => {}, | ||
selectedAccounts: [], | ||
showSelectAllOption: false, |
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.
Bør denne fjernes i fjernes i index.d.ts fila også?
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.
Jag fant inget bruk av den, men turte ikke fjerne. Tok sjansen på att false og undefined vill opføra seg likt her.
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.
Supert at du fikset!
Fjerner default props slik att man kan bruke react 19.
https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-deprecated-react-apis