Completely agree with the definition; but as always there's a blurry line. What if a library works with lots of callbacks that you have to put your code into, is it still a library or does it start to become a framework?
React is probably near the blurry line too. I'd call it a "lightweight framework".
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.