Closed as not planned
Closed as not planned
Description
Describe the problem
if i have let b=$state(...) ; let a = {a: b}
then a
wont be plain js object with unstate(a) , i have to apply unstate to the a.a
plz consider making unstate work deeply.
another thing is that unstate changes the order of properties i.e $state({a,b,d,c}) , console.log unstate would return a b c d
not abdc, i think its better to keep the original key ord
Describe the proposed solution
Importance
nice to have