Hacker News new | ask | show | jobs
by markmark 1113 days ago
Classes still work fine if you want to keep using them.
1 comments

This doesn't appear to be what the docs recommend anymore, which is exactly what my (obviously flippant) post was meant to highlight.
Hooks were introduced five years ago and have been stable since then. So that's half a decade with no changes to the API.
Great! I bailed in the first four years I guess, after the fourth change in API.