Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Petite Vue & Supabase #411

Open
volkandkaya opened this issue Dec 19, 2024 · 2 comments
Open

Feature request: Petite Vue & Supabase #411

volkandkaya opened this issue Dec 19, 2024 · 2 comments

Comments

@volkandkaya
Copy link

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.

@jmeistrich
Copy link
Contributor

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 :)

@volkandkaya
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants