News for hackers. Stuff that matters.
Re:Show HN: React-decoration – A collection of decorators fo... by pault on Saturday October 29, 2016 @05:33PM (#12826520)
I don't see anything here, with the exception of the debounce decorator, that isn't just an excuse to use a decorator for some reason. All of the examples can be implemented without decorators with the same amount of complexity and clarity.
Re:Show HN: React-decoration – A collection of decorators fo... by paulftw on Sunday October 30, 2016 @04:31AM (#12828711)
That's what I thought, and there are lodash & underscore to do twenty different flavours of debounce. However, stuff like @killEvent and @stopPropagation does make sense.