James Pearce
James Pearce
Offering up something similar in #48
Here's a workaround I used. In https://github.com/tinyplex/tinybase, I omit the `"main"` field in my `package.json` to prefer `"exports"`. To get this to work with Metro, I added a `"react-native"` field...
I had the "jumping around on every save" issue, and setting `"tsImportSorter.configuration.wrappingStyle": "prettier"` fixed it for me. Thank you.
If this is as simple as hooking into LibSQL, I think this can be done easily enough. Am I missing an extra step?
Main question seems to be whether to integrate with (newer) libsql-js or (older) libsql-client, or both
Thanks for swinging by! And thanks for the clarification. I'll take a look.
@glommer I'm wondering if there's a way to subscribe to database changes. My other sqlite-based adapters all provide a way to get to `sqlite3_update_hook` which I can listen to. I...
Please give v4.7.0 a whirl! I use polling for now. https://tinybase.org/
At the moment I am polling which is not ideal but it works. If you can expose that hook that would be awesome though. Eg Expo SQLite has `addDatabaseChangeListener`, CR-SQLite...
Unfortunately, `null` currently has a special meaning for a cell in several places (eg it means 'delete' in the transaction logs). It would be a big breaking change but I...