Big Picture Flashcards

1
Q

What is a benefit of React’s JavaScript-centric approach?

A

You use plain JavaScript for looping and conditionals.

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

What company open-sourced React?

A

Facebook

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

What is JSX?

A

An HTML-like language that compiles to JavaScript.

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

What’s one way that JSX and HTML differ?

A

JSX uses className instead of class.

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

Why do you have to worry about version conflicts in React, but not need to with native web components?

A

React has a runtime, web components don’t.

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

What is a benefit of React’s single file approach?

A

You can read, understand, and work with each autonomous file in isolation.

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

What is ReactJS?

A

A UI-JavaScript library

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

What is the benefit of React’s virtual DOM?

A

It improves performance by minimizing DOM changes.

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

What is a benefit of React’s library ?proach

A

It’s light-weight and configurable

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