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

feat: minor cleanup #28

Merged
merged 2 commits into from Jun 2, 2023
Merged

feat: minor cleanup #28

merged 2 commits into from Jun 2, 2023

Conversation

mxmason
Copy link
Collaborator

@mxmason mxmason commented Jun 1, 2023

Summary

This PR makes two minor code changes in the boilerplate:

  • Wraps the app in React's StrictMode component, which helps enforce some best-practices
  • Reorders the parameters of the useStateWithStorage hook and improves the typedefs for the hook – I just think the parameters make more sense in this order :)

@mxmason mxmason requested a review from segdeha June 1, 2023 21:29
@adidalal adidalal merged commit 825e012 into main Jun 2, 2023
5 checks passed
@adidalal adidalal deleted the feat/code-cleanup branch June 2, 2023 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants