Is it possible to get the implicit store? #1451
Replies: 1 comment 7 replies
-
You are welcome to have many questions. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Still more store questions, sorry!
Today's question. So, I understand that you an do
createStore()
(currentlyunstable_createStore
) and my understanding is that you can set that store for the tree using<Provider>
.My question is, for provider-less mode, is it possible to just "get" that "provider-less" store? Like the implicit store that Jotai will create? Such that I don't have to require the use of
<Provider>
for an end-user where I am using a Jotai store to get/set values in utility functions?Something like:
Beta Was this translation helpful? Give feedback.
All reactions