Hacker News new | ask | show | jobs
by AprilArcus 1332 days ago
Your code calls a library; a framework calls your code.
1 comments

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.