Jotai + RTK #1558
-
We were having a discussion internally about RTK for redux and benefits of it and it got me thinking if we could apply a similar style of definition to atoms. Made this thought it was cool so I figured I would share. Basically I wired |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Interesting. I didn't know you can use slice without store. It may work with one provider scenario (or no providers), but with multiple providers, I'm not sure which store/slice will be affected. This kind of enhancement will be more acceptable with new API (WIP) |
Beta Was this translation helpful? Give feedback.
Interesting. I didn't know you can use slice without store.
It may work with one provider scenario (or no providers), but with multiple providers, I'm not sure which store/slice will be affected.
That's why atoms are only definitions.
This kind of enhancement will be more acceptable with new API (WIP)
createStore
: #1514