- A data model is the code in the framework, like objects and arrays. The DOM is the visual representation of that code, the UI.
- A library has a set of functions that you can call upon to manipulate your code while a framework is larger and you have to code according to the frameworks rules.
- Vanilla JS is "harder" to use at times. Such as updating the DOM it takes a lot of vanilla JS code. With a framework it can be a lot easier and take a lot less lines of code with a framwork.
- Components are reusable piecces of code that render HTML.
- JSX is a component that allows us to write HTML in React.
- prop is an argument passed into React components
- State refers to the structure and how the data changes on it. State tracks how the data changes.
- It is the flow of data in React. Data is passed down from the parent component to the child component and that mutated data back to the parent component to update the DOM.