Open ajdiyassin opened 8 months ago
I'm getting this error when I use atomWithCache in NextJs 14
Error: Cannot set properties of undefined (setting 'debugLabel')
NextJs setup
experimental: { swcPlugins: [ ['@swc-jotai/react-refresh', { }], ['@swc-jotai/debug-label', {}], ], },
Please do not ask questions in issues.
Please include a minimal reproduction.
Also when subscribe value by useAtomValue(selectAtom(...)).
useAtomValue(selectAtom(...))
Hi there!
Thanks for reporting.
Can you provide a reproduction?
Summary
I'm getting this error when I use atomWithCache in NextJs 14
Error: Cannot set properties of undefined (setting 'debugLabel')
NextJs setup
Link to reproduction
Check List
Please do not ask questions in issues.
Please include a minimal reproduction.