Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alex_lav
· 3y ago · 0 comments
Classes? Components as functions? Classes again? Hooks?
Comments
[–]
markmark
3y ago
Classes still work fine if you want to keep using them.
[–]
alex_lav
OP
3y ago
This doesn't appear to be what the docs recommend anymore, which is exactly what my (obviously flippant) post was meant to highlight.
[–]
chatmasta
3y ago
Hooks were introduced five years ago and have been stable since then. So that's half a decade with no changes to the API.
[–]
alex_lav
OP
3y ago
Great! I bailed in the first four years I guess, after the fourth change in API.