Frontend React Flashcards

1
Q

Qu’est-ce que SPA (Single page application)

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

Quels sont les avantages de React

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

Quels sont les désavantages de React

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

Différence React vs Angular

A

React vs Angular:
1. Javascript library vs Complete framework
2. React uses a virtual DOM (Faster) vs Angular uses a real DOM
3. React is smaller in size and lightweight vs Angular is bigger because complete framework
4. React depends on external libraries so more coding lines vs Angular framework built-in support for features
5. React is simple to learn vs more difficult to learn

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

What is a DOM?

A

Represent the web page as a tree-like structure allows Javascript to dynamically access and manipulate the content

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

Difference between DOM and Virtual DOM

A

Virtual DOM only renders the element that is changed and makes the page more responsive vs real DOM refreshes the page with only one little change

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

What is React Components

A

In react it’s a reusable building block for creating UI

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

What is npm and node_modules

A

Npm is used to manage dependencies for the react project including react library itself

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

What is the role of public folder

A

Public folder contains static assets thatare served directly to the user’s browser

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