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

useMemo with useRef variables #151

Open
martin-yana opened this issue Oct 10, 2023 · 0 comments
Open

useMemo with useRef variables #151

martin-yana opened this issue Oct 10, 2023 · 0 comments

Comments

@martin-yana
Copy link

martin-yana commented Oct 10, 2023

[left, right],

Hi, just wondering why it is necessary to use useMemo if the dependencies are variables that use useRef which do not cause a re render nor a recalculation of the styles.

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

No branches or pull requests

1 participant