-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
General Information
- Bug
- Improvement
- Feature
- Other
Description
I have a question. According to https://stackoverflow.com/a/28046731/6928824 event pooling may be a problem for the throttle/debounce decorators. In your README example you use the debounce decorator for event handling so I guess it has worked for you so far.
So wouldn't it be better to call event.persist() before running the decorated function (I haven't found any code doing that)?
Maybe your example works because the event is cleaned after a longer time - so debounce(10e4) would not work...I haven't played around it yet.
Versions
- react-decoration: 2.0.0
- Browser: -
Metadata
Metadata
Assignees
Labels
No labels