top | item 46375283

(no title)

iTokio | 2 months ago

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

discuss

order

simonw|2 months ago

A hill I will die on is that React is a framework.

jodrellblank|2 months ago

React's homepage says "The library for" and "Go full-stack with a framework. React is a library. It lets you put components together, but it doesn’t prescribe how to do routing and data fetching. To build an entire app with React, we recommend a full-stack React framework like Next.js or React Router." and "React is also an architecture. Frameworks that implement it let you..."

React's Wikipedia page says "React ... is a free and open-source front-end JavaScript library", and has no mention of Framework.

Why die on a hill that it "is" something it says it isn't?

[] https://react.dev/

[] https://en.wikipedia.org/wiki/React_(software)

davnicwil|2 months ago

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.