We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got this issue when I defined an atom in typescript outside the component file and imported it to component
const interface User { firstName: string; lastName: string; } const userAtom = atom<{ [key: string]: User; }>({});
The text was updated successfully, but these errors were encountered:
Please continue discussion in #1816.
Sorry, something went wrong.
useAtom(undefined)
Invalid value used as weak map key
No branches or pull requests
Summary
I got this issue when I defined an atom in typescript outside the component file and imported it to component
The text was updated successfully, but these errors were encountered: