reading-notes

These are my reading notes for Code Fellows


Project maintained by taegorov Hosted on GitHub Pages — Theme by mattgraham

Home

Component Lifecycle / useEffect() Hook

Single page apps only use a single .html page and render/hide content depending on the route.

Inside the , outside a

It hides those components.

…can have one element, multiple elements, or none at all, its value is respectively a single child node, an array of child nodes or undefined (source)

setState is merging the previous state with the new one, it means that you dont have to pass the full state object every time you want to change some part of the state. (source)

Document the following Vocabulary Terms:

One of the most used hooks. Allows functional components to have states. Allows manipulation of DOM components.

(source)

“Mounting” is when React “renders” the component for the first time and actually builds the initial DOM from those instructions. (source)

Unmounting. The next phase in the lifecycle is when a component is removed from the DOM, or unmounting as React likes to call it. (source)