Ahhh, function composition - hooks embrace functions in a traditional way and try to keep things simple for newer developers immigrating to the environment. I’ve only been reading about them lately, but haven’t changed a spot of any of my code to incorporate them. Mind you, class level components aren’t going anywhere for the foreseeable future and hooks will be used side-by-side along with classes.
This looks promising, but I wouldn’t rush into refactoring my whole code base just yet. Keep an eye on this and perhaps even learn hooks, that’s for sure.