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

Change useLayoutEffect to useIsomorphicLayoutEffect #1254

Closed
Tracked by #823
mimarz opened this issue Dec 20, 2023 · 0 comments · Fixed by #1274
Closed
Tracked by #823

Change useLayoutEffect to useIsomorphicLayoutEffect #1254

mimarz opened this issue Dec 20, 2023 · 0 comments · Fixed by #1274
Assignees
Labels
react @digdir/designsystemet-react

Comments

@mimarz
Copy link
Collaborator

mimarz commented Dec 20, 2023

Copy the source code from https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect to our own utils and replace usages of useLayoutEffect with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react @digdir/designsystemet-react
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants