You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does petite-vue (or regular vue) have a way to use an external store? I haven't used vue myself yet, but would like to have a first class integration if possible. The React features are all built on top of https://github.com/LegendApp/legend-state/blob/main/src/react/useSelector.ts, so if there can be an equivalent in vue then we could build a vue integration on top of it :)
I don't use Vue so not sure about that one but I would guess "ref(), computed() "
Petite Vue is very basic, 99% sure it doesn't have it.
The magic of Petite Vue for my use case is pure client side rendering without any transpiler etc but if needed can be exported to Vue/React as it is a tiny subset of Vue.
Currently using https://github.com/vuejs/petite-vue + Supabase to build dashboards quickly where I don't need to maintain a large React repo.
Trying to figure out a way to sync a store to Petite vue and have it continue to update.
I was able to hack it where I track changes in mounted() with observe and then push those to the Petite Vue store, but there must be an easier way.
The text was updated successfully, but these errors were encountered: