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

[@mantine/core] Import useIsomorhicEffect instead of creating new one #5694

Merged
merged 3 commits into from Feb 9, 2024

Conversation

qweered
Copy link
Contributor

@qweered qweered commented Feb 1, 2024

No description provided.

@qweered
Copy link
Contributor Author

qweered commented Feb 1, 2024

Should we replace most useEffects in codebase with useIsomorphicEffects? I can do that

@rtivital
Copy link
Member

rtivital commented Feb 1, 2024

useIsomorphicEffects replaces useLayoutEffect, not useEffect.

@qweered
Copy link
Contributor Author

qweered commented Feb 1, 2024

Also there is creation of useIsomorphicEffect in mantine/form, but I believe it should not be dependent on mantine/hooks

@qweered qweered changed the title Import useIsomorhicEffect instead of creating new one [@mantine/core] Import useIsomorhicEffect instead of creating new one Feb 2, 2024
@rtivital rtivital merged commit 644f6c4 into mantinedev:master Feb 9, 2024
1 check passed
@rtivital
Copy link
Member

rtivital commented Feb 9, 2024

Thanks!

@qweered qweered deleted the patch-1 branch February 9, 2024 12:35
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