Hacker News new | past | comments | ask | show | jobs | submit login

Correct. I think this could be done, but I would need to think a little about how best to. Thank you for the idea!



My 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.


This 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: