Bloomca / veles

UI library with main focus on performance
https://bloomca.github.io/veles/
MIT License
47 stars 0 forks source link

refactor combineState function #11

Closed Bloomca closed 4 months ago

Bloomca commented 4 months ago

Description

Refactor combineState function to accept up to 10 states (you can add more, but it is only typed up to 10), and to return an array with all the values. The combine into a separate value, one should use useValueSelector, or just useValue regularly (maybe even useValueIterator).