React Components & Component State
Composing React Components & Passing Data Via Props
Component Side Effects
Advanced Styling Techniques
Grab Bag/JS Review

100

_________ is a JavaScript library for building user interfaces. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications

 React

100

Importing a file/module starts with declaring which keyword?

 import

100

 Fetching data from an API, timers, logging, and manually manipulating the DOM are all examples of ___ ________. 

side effects

100

Whats does CSS stand for?

cascading style sheets

100

What does DOM stand for?

Document Object Model --> an object representation of the html elements of a webpage

200

What are the building blocks of any React app (reusable blocks of code)?

components

200

What is a stateful component and how is it different from a stateless one?

a component that holds or manipulates some state of the app

200

The ____ hook tells React that a component needs to run, or execute, some side effect. This hook takes in two parameters.

 useEffect hook

200

What do we call the library for writing CSS in our JS files? (specifically in React this week)

 styled components

200

When a web page is loaded into the browser, the browser first looks for the ____ file. 

What is HTML? 

300

This allows us to put HTML into JavaScript

 JSX

300

When we want to pass information held on state inside one component to another component, we pass them as _________. 

props

300

True/False
If the effect hooks used are not synced with any particular pieces of data, each of those hooks would run every single time a piece of state or a prop changed.

 true

300

What is the name for the Bootstrap Styling library for React Components. (the component library that uses Bootstrap under the hood) 

 Reactstrap

300

What does CRUD stand for?

Create, Read, Update, Delete

400

A hook that lets you add React state to function components

the useState hook

400

When ______ _______ is specified, the declaration that follows is exported automatically and additional modules will need to be exported by name.


export default

400

What do we use as the second argument in the effect hook to tell it with which state or props the effect should be synced? 

a dependency array

400

What do we need to import from styled components in order to get our styles working?

styled

400

What do we call this type of syntax? `${} and ${} went to the store`

 template literals

500

What is the react virtual DOM?

In React, for every DOM object, there is a corresponding “virtual DOM object.” A virtual DOM object is a representation of a DOM object, like a lightweight copy.


500

True/False: Props data is read-only, which means that data coming from the parent should not be changed by child components. 

true 

500

The effect hook takes in two parameters. The first is a ______ ________. 

 callback function

500

True/False: Styled Components is actually a higher order component

true

500

Whats is bubbling in JS?

when an event is first called and handled by the innermost element and then propagated to outer elements.

M
e
n
u