3 ms·
Correct. I think this could be done, but I would need to think a little about how best to. Thank you for the idea!
by jamesgpearce 4y ago
Correct. I think this could be done, but I would need to think a little about how best to. Thank you for the idea!
- mfbx9da4 4y agoMy pleasure, happy to discuss how to architect if there’s a discord / GitHub issue. I know for a fact the react native community are pining for this.
- mfbx9da4 4y agoThis is how I see it could work: * Queries are encoded into sql and matcher functions * Whenever data is mutated a change set is emitted - eg similar to immer * This change set is used to generate SQL UPDATE statements * The change set is also sent to matcher functions, the matcher functions update the query results accordingly