React Flashcards

1
Q

Mono-flow AKA Unidirectional Data Flow

A

Application data moves in one direction, with rendering the view as the last step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Component

A

A self-contained module which is solely responsible for rendering the view.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Container

A

A self-contained module which is solely responsible for processing business logic and sending data down via props to other components to be rendered.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

State

A

An object representing the current set of data which is passed down to other components and rendered. Is never altered directly, it is simply replaced with an updated _____ version. _____ IS PRIVATE; it is only accessed from within the component itself or is sent downwards via props.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Props

A

Data which gets passed down from containers to components. Usually contains server data, event handlers, or parts of the state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Life Cycle Methods

A

React goes through a ___ _____ every time it detects a state change. ___ _____ _____ let developers have more control over how exactly to behave during this cycle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Webpack

A

Program which compiles multiple files and outputs them into one which the browser is able to read.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ES6

A

New syntax for writing javascript which makes writing in React more intuitive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

JSX

A

Syntax for writing HTML directly in javascript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

MV*

A

Stands for Model-View-Whatever. It is a way of conceptualizing how the view, data (model), and logic (whatever) should relate to each other in front-end applications. React has

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Render Method

A

A method which each React component is required to have. It is responsible for generating (rendering) either HTML or other React components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Virtual DOM

A

A separate representation of the DOM which contains newest version of the state of the app. React uses it to compare against the real DOM when deciding which parts of it to re-render to the view. The virtual DOM is what makes React so fast and efficient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Constructor Method

A

A React component method which generates the initial state of the component as well as other component-specific properties.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly