That’s because React started as a small, focused library and evolved as even more than a framework, a whole ecosystem, complete with its own best practices
I don't agree. What I said about React providing structure and (lifecyle) hooks was true from the first version.
The later stuff adds other ways of doing the same thing but a library it remains.
That's as self described by the React team, and I think the consensus more broadly.
A hill I will die on is that React is a framework.