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

Create re-rendering tests that run in CI #4649

Open
franknoirot opened this issue Dec 3, 2024 · 0 comments
Open

Create re-rendering tests that run in CI #4649

franknoirot opened this issue Dec 3, 2024 · 0 comments
Labels
low-priority performance tests Pull requests that update or improve our test suite

Comments

@franknoirot
Copy link
Collaborator

Use a tool like react-scan and combine with Playwright and Vitest to assert that components do not excessively re-render (or re-render exactly as many times as we expect) during user flows. Up for discussion, but I believe this should be woven through existing tests using our fixtures to allow parts of the app to assert how many times they have re-rendered at various points during the user flows already under test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-priority performance tests Pull requests that update or improve our test suite
Projects
None yet
Development

No branches or pull requests

1 participant