Skip to content

Update to latest eslint 9 with neostandard and eslint-plugin-react-hooks#842

Open
vincentfretin wants to merge 2 commits intoaframevr:masterfrom
vincentfretin:update-eslint
Open

Update to latest eslint 9 with neostandard and eslint-plugin-react-hooks#842
vincentfretin wants to merge 2 commits intoaframevr:masterfrom
vincentfretin:update-eslint

Conversation

@vincentfretin
Copy link
Contributor

Fix bad practice in ThemeSelector component, now use a lazy initializer for useState instead of useEffect to read from localStorage, this avoids the unnecessary cascading render.

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.

1 participant