Function component (al) is just that, it's just a function, and functions can't have state because it's a react thing, not a global javascript thing. This is also the reason why functional (al) components are called stateless components. The main use of these components is to be pure and give the same output with the same input.