Main Flashcards
A DOM is a tree of html ____.
Nodes
React’s virtual DOM is really just a tree of ______ .
React elements
A virtual DOM node is basically an object that stores an element’s ______.
attributes and content
ReactDOM syncs the virtual DOM with the real DOM through a process called ____ .
reconciliation
The render() function creates ____ .
A tree of React elements
The process of comparing the current virtual DOM (tree of React elements) to the previous virtual DOM is called ____ .
diffing
React is an ____ JavaScript library created by ____ that is used to build complex, interactive ____ for ____ and ____ applications.
open-sourced
Facebook
web
mobile
When compared to the MVC architecture, React is for which part?
V (view)
Angular enforces opinions on the overall ____ of an application, whereas React is only concerned with the ____ .
view
React uses JSX for building HTML, whereas Angular uses ____ .
templates, an extension of HTML
Angular has opinionated dependency injection. Some of these include ____ , ____ , ____ , and ____ . (FRAH)
form handling
routing & navigation
animations
http api
React is really a UI library, whereas Angular is a full-featured ____ .
framework
One downside to React vs Angular, is that you have to decide which ____ to use for critical features, and you have to manage ____ to them.
library dependencies, updates
React has one-way data binding, whereas Angular has ___ data binding.
two-way
List the three phases of the component lifecycle.
mounting, updating, un-mounting