tinybase icon indicating copy to clipboard operation
tinybase copied to clipboard

Develop a Vite plugin for getStoreApi

Open gunta opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Running the tinybase command line each time may get a bit tedious.

Describe the solution you'd like Watch the schema files automatically with a Vite plugin.

gunta avatar Mar 07 '24 23:03 gunta

This is possible, but generally I am hoping people move to using the schema-based typing (https://tinybase.org/guides/schemas-and-persistence/schema-based-typing/) rather than the code generation approach (in the long run).

Leaving the issue open though.

jamesgpearce avatar Mar 11 '24 20:03 jamesgpearce

I see! Perhaps it would be nice to add to the documentation the pro/cons of each approach

gunta avatar Mar 17 '24 15:03 gunta