|
Hi, I've got an app where I am using Firebase Realtime Database (RTDB). The data in these updates via websockets, and you receive change events to keep your local state in sync. For "collections", you get events whenever an item is added, changed or removed. At the moment, I have a lot of hooks like I'm basically doing a whole load of these at the top of my "document" view, in order to sync lots of different parts from the document. I'm wondering if there is an "atomised" way of doing this, where I can set up this updating mechanism and then when I request to use that atom, it's set up, rather than having this big list of (Oh, and I'm also going to begin to use |
Replies: 1 comment
|
Your current approach is correct and valid in the current version of jotai. You are welcome to join the discussion there, help on ideation, testing, documenting, and creating examples. |
Your current approach is correct and valid in the current version of jotai.
There has been some discussions in #211, #234, #263, and it's blocking #248.
So, we started working on #266.
You are welcome to join the discussion there, help on ideation, testing, documenting, and creating examples.
Especially, because I haven't thought much about how to apply this to
atomFamily, your feedback would be so helpful.