Closed jamesgpearce closed 1 month ago
The SQLite example didn't work at all, due to the fact it used the old API.
I'm not sure I've used the best idioms for the new API (these are all the *Sync methods, for example), but at least it's up and running again.
I couldn't get the useEffect hook to create the items table in time, so that is pushed up into the connection creation function.
useEffect
items
cc @brentvatne @alanjhughes
The SQLite example didn't work at all, due to the fact it used the old API.
I'm not sure I've used the best idioms for the new API (these are all the *Sync methods, for example), but at least it's up and running again.
I couldn't get the
useEffect
hook to create theitems
table in time, so that is pushed up into the connection creation function.cc @brentvatne @alanjhughes