v0.3.0
Includes #10 and better enables the dataHooks
static prop pattern.
See the updated README for new documentation.
Updates:
getDataHooksProps
now de-dupes functions references so the same function reference can be added more than once.
Breaking changes:
- Trying to access a data hook that has not been added to the
getDataHooksProps
will result in a throw now. Previously it would returnundefined
. getDataHooksProps({ hooks: [/* ... */] })
has been renamed togetDataHooksProps({ dataHooks: [/* ... */] })