3 ms·
Speaking of frameworks, I don’t know how react gets away with calling itself a library. I think the only reason people call it a library is that it’s subtitle s
by gentleman11 5y ago
Speaking of frameworks, I don’t know how react gets away with calling itself a library. I think the only reason people call it a library is that it’s subtitle says it’s a library. It requires you to structure a large part of your app in a highly specific way by subclassing or implementing an interface, and react calls your code. It’s not that opinionated, but it’s far more opinionated than express, which is considered a framework (although it’s the lightest framework I’ve ever seen, and basically just procedurally builds a http event listener for you, so it’s very library like)
- CRConrad 5y agoWell, one way of looking at it is that a framework is just a big (or very big) library. I don't know the history of React, but maybe it began as a somewhat smaller library and then grew more than expected?