Week 10 React Part 1 Flashcards
Key Terms in Videos
1
Q
Everything in React is a
A
component
2
Q
React does not update the
A
DOM
3
Q
React updates the
A
Virtual DOM
4
Q
React was built and maintained by
A
5
Q
Components are
A
reusable pieces of code
6
Q
bundle.js is created by
A
webpack
7
Q
every component is a
A
class
8
Q
every component a __________ method
A
render
9
Q
to render React you need the __________ package
A
react-dom
10
Q
to mount your React App to the DOM you use the _______ method
A
render()
11
Q
The best practice is to create components in
A
separate file
12
Q
to make a component visible to other code in your app you need to ___________ the component
A
export
13
Q
mixing javascript and HTML is done through
A
JSX
14
Q
class is __________ in JSX
A
className
15
Q
wrap you return statements in
A
()