Replies: 1 comment
-
@mawnir well in this case since you need to persist your changes I would recommend use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on an app like Notion, i need to update the "Fav list", "Main list" or the "trash list" based on certain actions in the opened document. i can achieve this connecting directly to Supabase, but what i need is to improve speed and have localstorage/cache... Zustand can help with both.
My question is what is the best approach to do this? is it to connect to whole Table to the store and then do actions locally and then update the DB? or simple stores with actions like 'isFavorite' ==> true...? any example will be great
Beta Was this translation helpful? Give feedback.
All reactions