Bloomca / veles

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

add strings support as a return value from state.useValue #16

Closed Bloomca closed 1 month ago

Bloomca commented 1 month ago

Description

Add strings/null/undefined as a return type from useValue/useValueSelector. This way we can support conditionals, and also no need to wrap return types into an additional HTML element.

Reference

Closes https://github.com/Bloomca/veles/issues/7