A libraray is a collection of class definitions. Key reason is for code reuse that has been already written by other developers. In a framework all the control flow is already there but there is a lot of white spots that shuld be filled out by our own code. Defines the skeleton where the application defines the its own features to fill out the skeleton.
We should consider using a framework because of State-based UI rendering, in particular “live” data that results in small changes rather than an entirely new UI.
Components are the building blocks of React. They are a collection of HTML, CSS, JS, and some internal data spacific to that component. They are useful because they are everything we need bundled up into a small package that connects to make a bigger picture.
The data in which is passed to the child component from the parent.
The internal store (object) of a component.
Describes a common pattern which imphasizes unidirectional data flow. In other words "passing data" from one part of the app down to other parts of the applications layers.