Open
Description
I find that I use transact all over the place, and I "thought" I was doing it correctly.
store.something.transact();
store.something.set('a',1);
store.something.set('b',2);
That has been working great ... but not I updated freezerjs to the latest and am getting detach warnings all over.
Looks like I really should be doing ...
date = store.something.transact();
data.set('a',1);
data.set('b',2);
So I actually have 2 questions ...
-
the way I have been doing seems to work fine, what are the issues with doing it the first way above.
-
is there a way to put the store into transact() mode globally, to make things a bit cleaner for my scenario.
Metadata
Assignees
Labels
No labels