What's the difference useAtom in jotai
and useAtom in jotai/react
#2701
Answered
by
dai-shi
ThatXliner
asked this question in
Q&A
-
If I'm using The documentation doesn't answer my question |
Beta Was this translation helpful? Give feedback.
Answered by
dai-shi
Aug 9, 2024
Replies: 1 comment
-
It's the same one: Line 2 in 7d4da51 It's mainly for library authors. For React app developers, using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ThatXliner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's the same one:
jotai/src/index.ts
Line 2 in 7d4da51
It's mainly for library authors. For React app developers, using
useAtom
from'jotai'
is totally fine.