3 ms·Classes? Components as functions? Classes again? Hooks?by alex_lav 3y agoClasses? Components as functions? Classes again? Hooks?markmark 3y agoClasses still work fine if you want to keep using them.alex_lav 3y agoThis doesn't appear to be what the docs recommend anymore, which is exactly what my (obviously flippant) post was meant to highlight.chatmasta 3y agoHooks 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 3y agoGreat! I bailed in the first four years I guess, after the fourth change in API.