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

Docs improvement: Next.js's cache needs to be cleared after registering the plugin #18

Open
guansss opened this issue Sep 21, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@guansss
Copy link

guansss commented Sep 21, 2023

Hi, I was trying to use @swc-jotai/debug-label in my Next.js project, and after installing it, all my atoms were still displayed as "unlabeled" in the DevTools.

After some searching and debugging, I found that I should delete the .next folder because Next.js seems to cache the compilation result, and adding a SWC plugin will not invalidate the cache.

I think this can be added to the docs to help others.

@Thisen Thisen added the documentation Improvements or additions to documentation label Sep 29, 2023
@Thisen
Copy link
Collaborator

Thisen commented Sep 29, 2023

Feel free to PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants