logoalt Hacker News

davnicwilyesterday at 1:06 PM2 repliesview on HN

these things are hard, maybe impossible to define.

For example I mostly agree with your calls/called definition but you also get self-described libraries like React giving you defined structure and hooks that call your code.


Replies

vbezhenaryesterday at 1:27 PM

React is 100% framework. They even bring their own DSL. It's absurd to call React library.

Library is something that can be pulled off project and replaced with something else. There's no non-trivial project where replacing React with anything would be possible. Every React web app is built around React.

show 4 replies
iTokioyesterday at 1:13 PM

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

show 2 replies