Giter VIP home page Giter VIP logo

Comments (3)

arqex avatar arqex commented on May 27, 2024 1

Hey @solugebefola,

Sorry for my late late reply. I have tested it and for me it's working fine

http://jsbin.com/mizumamota/1/edit?js,console

I don't know if some update has fixed it.

from freezer.

arqex avatar arqex commented on May 27, 2024

Hi @solugebefola

it seems that you found some kind of bug when pivot on the root. I need to have a look at the code and check what's happening, but if you need the root object is always a good idea to write freezer.get(), a bit more verbose but you are always sure that you are working with the synced data.

from freezer.

solugebefola avatar solugebefola commented on May 27, 2024

Ordinarily I would, but I am not using Freezer in the typical fashion, I don't think. I am including it in a standard react component and using a freezer object (e.g. 'first' in the above) derived from the Freezer ('free') as an attribute in the state. Then i am using standard setState on the freezer object rather than using the Freezer. So I was trying to modify only a portion of the freezer object and return the whole thing as the argument for setState. If this were a project starting from scratch, I would probably use free.get() with a listener rather than setState, but the situation doesn't allow it without a lot of modification to the underlying code. Thanks for letting me know I wasn't crazy!

from freezer.

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.