It is a stateful functional component. According to the docs, useState “[r]eturns a stateful value, and a function to update it.”
Of course, we could quibble - Is it the component that is stateful or the value. And I notice that that useState function is going to be run every time the component renders - there must be something under the hood that tracks that value and its setter, some store somewhere.
I don’t know what the strict definition is. Is it stateful? Does it mimic being stateful but reloading the stateful value on each render? I don’t know, I’m not smart enough. I do see that some people are referring to them as “stateful components” online - that sounds good enough for me.
To make matters a little confusing, many of us refer to functional components as SFCs - stateless functional components. What is the abbreviation for stateful functional components?