Closed Bloomca closed 5 months ago
Allow to have no callback function in useValue, useValueSelector and useAttribute. This is just a syntactic sugar when you want to use the value directly, e.g.:
useValue
useValueSelector
useAttribute
<div> {taskNameState.useValue(name => name)} </div>
Closes https://github.com/Bloomca/veles/issues/23
Description
Allow to have no callback function in
useValue
,useValueSelector
anduseAttribute
. This is just a syntactic sugar when you want to use the value directly, e.g.:Closes https://github.com/Bloomca/veles/issues/23