Git Product home page Git Product logo

Comments (4)

jamesgpearce avatar jamesgpearce commented on May 28, 2024

Great write up. Thanks for the report!

from tinybase.

jamesgpearce avatar jamesgpearce commented on May 28, 2024

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.

jamesgpearce avatar jamesgpearce commented on May 28, 2024

Anyone following along can try and fix this little riddle here. https://codepen.io/pen?template=MWxpgmE&editors=0010

from tinybase.

jamesgpearce avatar jamesgpearce commented on May 28, 2024

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.