Hi HN! Hooks Considered Harmful [0] is being discussed so I thought I should share this library I made.<p>Normally React hooks are written with functions but with this library you use classes instead. You have access to lifecycle methods such as `hookDidMount` and `hookDidUpdate`.<p>I hope people find this interesting. Whether or not it is a good design is something for y'all to debate!<p>[0]: <a href="https://news.ycombinator.com/item?id=30753127" rel="nofollow">https://news.ycombinator.com/item?id=30753127</a>