2 ms·
Well I glanced in and saw a decorator for event functions, like a debounce for an onClick. That seems like a whole different thing. Isn't it worth while?
by dismantlethesun 10y ago
Well I glanced in and saw a decorator for event functions, like a debounce for an onClick.
That seems like a whole different thing. Isn't it worth while?
- steve_taylor 10y agoDecorating individual functions probably isn't a bad thing in those cases. The link takes you to only part of the Github repo. Look at the rest of it and you will see various class-level decorators.