Yes, that's one definition of framework (the one I prefer, too) but not the one the React team follows.
For them Next.js or GatsbyJS are frameworks that are built on the React library.
The React team can follow whatever self-delusional definition they like I guess 😜
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.