Bloomca / veles

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

support custom comparator in useValue and useValueSelector #12

Closed Bloomca closed 4 months ago

Bloomca commented 4 months ago

Description

Add an additional argument to provide a custom comparator function. Also this PR unintentionally adds support for the previous value (.getPreviousValue() function is available now).