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

pref: run client scripts only when opening the DevTools Panel #101

Merged
merged 5 commits into from
Dec 18, 2022

Conversation

koba04
Copy link
Owner

@koba04 koba04 commented Dec 17, 2022

This is a part of #100
This PR makes SWRDevTools send events only when the SWRDevTools panel is open, which means your application doesn't get slower as long as opening SWRDevTools panel.

@vercel
Copy link

vercel bot commented Dec 17, 2022

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

Name Status Preview Updated
swr-devtools ✅ Ready (Inspect) Visit Preview Dec 18, 2022 at 3:29PM (UTC)

@koba04 koba04 marked this pull request as ready for review December 18, 2022 16:05
@koba04 koba04 merged commit b04c3da into main Dec 18, 2022
@koba04 koba04 deleted the perf-run-only-open-panel branch December 18, 2022 16:06
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