Trail-Sense
Trail-Sense copied to clipboard
Hook improvements
- [x] State (only triggers update when changed)
- [ ] Effect should optionally return a callback that gets invoked when it is retriggered (for cancellation) - can be another method name (cancelableEffect)
- [ ] Allow setting of state update throttle
- [ ] Add compiler to allow usage without needing to name the hooks
- [ ] Add option to reset all hooks on a lifecycle change