Comments (4)
Great write up. Thanks for the report!
from tinybase.
Interestingly, I can only repro in your code when there is that persister step with a 'then' callback. Otherwise a second store and second new relationships object get created, no problem. The 'then' callback is the thing causing the relationship Ids to be empty (even if the function body is empty).
Going to keep working on this. Thank you for sending me more puzzles :)
from tinybase.
Anyone following along can try and fix this little riddle here. https://codepen.io/pen?template=MWxpgmE&editors=0010
from tinybase.
@fspoettel this is a breaking change so I have had to move it to the forthcoming v5.0 release. Please try https://github.com/tinyplex/tinybase/releases/tag/v5.0.0-beta.1 and see if it works for you!
from tinybase.
Related Issues (20)
- PowerSync support HOT 2
- Persists Tinybase to Turso's SQLite Edge HOT 8
- StoreInspector doesn't seem to work on API generated Providers HOT 1
- Develop a Vite plugin for getStoreApi HOT 2
- Add Zod and Effect Schema support for better DX HOT 9
- Consider using Bun for the development of TinyBase itself HOT 1
- Persist TinyBase to Astro DB
- Support TS `moduleResolution: node16` HOT 5
- Loro CRDT Addition
- 'Pagination' for SQLite persistence
- Extra persister events (start + finish) HOT 2
- Hermes error with Expo 50 + Tinybase v5 beta HOT 11
- ESlint errors from import/no-unresolved HOT 9
- Object-based hooks should return same ref if unchanged HOT 3
- useSetRowCallback is recreated when rowId is a function HOT 1
- Expose @types/_internal HOT 2
- WebRTC Synchronizer HOT 2
- Expo not marked as optional peer HOT 3
- Clarity around getPersisted returning undefined HOT 13
- Add hasSlice and useHasSlice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinybase.