Closed lake-effect closed 5 years ago
Hi @lake-effect, thank you so much for opening this PR, cool! I'll review it in a couple of minutes and I'll be happy to merge ๐
@mbasso Is there anything else you think this PR needs?
Iโm sorry for my late reply but Iโm a little bit busy in these days... Iโve just reviewed the new version, addressing only a little thing I havenโt seen before. After that Iโll be really happy to merge and deploy ๐
No problem! I fixed the README.
Does the README look okay?
It looks fine! I'll merge and publish a new release, thank you! ๐
react-decoration@2.1.0 is online ๐ thank you ๐
This is an implementation of a decorator slightly different from
@debounce
or@throttle
: it disables the decorated event handler after the first time it is triggered. My team has found it useful for ensuring navigation events only trigger once, since navigation will destroy the decorated component after it completes. There's no issue for this but it's a feature we need.The PR also removes trailing whitespace from lines and hard wraps documentation.