Initialise atom as null #629
-
If you initialise an atom like this
It will think I want a read only atom and using it like a normal read/write atom will cause type issues as However if I use any other type than undefined or null like for instance So how does one initialise an atom as null, then later check if that value is null and use that as a bail out mechanic? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
A quick question: Do you have |
Beta Was this translation helpful? Give feedback.
A quick question: Do you have
"strict": true
in tsconfig.json?