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

Fix scrub #481

Merged
merged 2 commits into from
Jan 3, 2025
Merged

Fix scrub #481

merged 2 commits into from
Jan 3, 2025

Conversation

funwithtriangles
Copy link
Member

Scrubbing wasn't working. This was because getParamWithInfo was causing lots of re-renders.

  • Now using useShallow to prevent re-renders
  • Using useCallback so that onElementScrub isn't constantly being created

@funwithtriangles funwithtriangles merged commit 2df3b1e into alpha Jan 3, 2025
1 check passed
@funwithtriangles funwithtriangles deleted the fix-scrub branch January 3, 2025 16:26
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