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

Replace React defaultProps with default parameters #35

Open
jerboa88 opened this issue Jul 9, 2022 · 0 comments
Open

Replace React defaultProps with default parameters #35

jerboa88 opened this issue Jul 9, 2022 · 0 comments
Labels
🛡 Priority: Low Issue is of low priority ⏰ Status: Confirmed Issue has been reproduced 🗃 Type: Maintenance General project upkeep task

Comments

@jerboa88
Copy link
Owner

jerboa88 commented Jul 9, 2022

Description
React defaultProps component property will be depreciated in the future so we should replace this with default parameters instead as per https://stackoverflow.com/questions/47774695/react-functional-component-default-props-vs-default-parameters. This may have performance benefits as well.

@jerboa88 jerboa88 added ⏰ Status: New Issue has not been investigated yet 🗃 Type: Maintenance General project upkeep task ⏰ Status: Confirmed Issue has been reproduced 🛡 Priority: Low Issue is of low priority and removed ⏰ Status: New Issue has not been investigated yet labels Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛡 Priority: Low Issue is of low priority ⏰ Status: Confirmed Issue has been reproduced 🗃 Type: Maintenance General project upkeep task
Projects
None yet
Development

No branches or pull requests

1 participant