-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pivot on whole freezer object? #95
Comments
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 |
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 |
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. |
Maybe I am mistaken, but when I try to pivot on an entire freezer object, I don't get back the object, but rather the changed node.
Am I using it incorrectly?
The text was updated successfully, but these errors were encountered: