facebookexperimental / Recoil

Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
https://recoiljs.org/
MIT License
19.5k stars 1.18k forks source link

[SSR][NextJS] Duplicate atom key during development and during production build in nextjs #1570

Open Paul-Okello opened 2 years ago

Paul-Okello commented 2 years ago

I have problems in production as it gives an internal server error.

ryanwellsdotcom commented 2 years ago

It seem like this would be addressed by now. Getting this in Stackblitz and other environments. Not using Next.js.

chinmay4github1987 commented 2 years ago

I have the same issue with React Native ---Duplicate atom key during development and during production build

joohaem commented 1 year ago

Check this RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED document. https://recoiljs.org/ko/docs/api-reference/core/RecoilEnv