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: grid , reuse useFrame assets #1559

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

vis-prime
Copy link
Contributor

@vis-prime vis-prime commented Jul 4, 2023

Why

Class instances being created inside useFrame

What

Create it outside useFrame and reuse it
sandbox testing the update https://codesandbox.io/s/grid-component-update-4dw7vh?file=/src/GridUpdate.tsx

Checklist

  • Documentation updated (example)
  • Storybook entry added (example)
  • Ready to be merged

@vercel
Copy link

vercel bot commented Jul 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2023 3:39pm

@vis-prime vis-prime marked this pull request as ready for review July 4, 2023 15:37
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 4, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0555af9:

Sandbox Source
misty-night-2l262r Configuration
Ground reflections and video textures Configuration
arc-x-pmndrs-colors Configuration
Grid component Update PR

@drcmda drcmda merged commit 15754d1 into pmndrs:master Jul 4, 2023
2 checks passed
@github-actions
Copy link

github-actions bot commented Jul 4, 2023

🎉 This PR is included in version 9.78.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@vis-prime vis-prime deleted the grid-useFrame-improvement branch July 5, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants