0kku / destiny

A reactive UI library for JavaScript and TypeScript
Open Software License 3.0
53 stars 6 forks source link

ReactiveValues should probably flatten #41

Open 0kku opened 2 years ago

0kku commented 2 years ago

When a reactive value is assigned to another reactive value, or returned from the callback of computed(), RV::truthy(), RV::falsy(), RV::pipe() etc., it should probably be flattened for convenience, similar to how promises flatten.