Y
Hacker News
new
|
ask
|
show
|
jobs
by
qudat
1332 days ago
> React is a framework though.
framework vs library -- how would you define them?
1 comments
AprilArcus
1332 days ago
Your code calls a library; a framework calls your code.
link
qudat
1332 days ago
That sounds nice but it’s not that simple. In the case of react you are doing both. You are importing functions like hooks and render. Then you pass render a function that then gets called by react.
link