LegendApp / legend-state

Legend-State is a super fast and powerful state library that enables fine-grained reactivity and easy automatic persistence
https://legendapp.com/open-source/state/
MIT License
2.97k stars 84 forks source link

Auto unwrapping #341

Open lishine opened 3 months ago

lishine commented 3 months ago

get() on observable of array of observables produces a raw value - an array - is it as intended ? https://stackblitz.com/edit/vitejs-vite-5dcafq?file=src%2FApp.tsx

lishine commented 3 months ago

Auto unwrapping of observable inside observable - is it intended? https://stackblitz.com/edit/vitejs-vite-khkrgr?file=src%2FApp.tsx

lishine commented 3 months ago

It recursively unwraps all observables. It is a new behaviour. It seems weird to me.