1. Introduction To React JS Flashcards

1
Q

What is React JS?

A

It is a JavaScript library used to build component-based user interfaces.

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

How do you install React?

A

npx create-react-app appname

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

How do you launch a React App?

A

npm start

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

What is the format for writing components?

A

function componentName() { return (jsx); }

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

What are some rules when creating a component?

A

The file name and the component name must match, and both must begin with capital letters, using camel casing.

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

What does JSX stand for?

A

JavaScript XML, it allows us to write HTML and JavaScript in the same file.

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