What is React? Flashcards Preview

Front-End: React JS > What is React? > Flashcards

Flashcards in What is React? Deck (12)
Loading flashcards...
1

What is React?

A JavaScript library for building user interfaces.

2

React runs in the ______ not in the server.

browser

3

React is about building components for the ____ ______.

User Interface. What the user can see in the front.

4

Another phrase for components is...

building blocks

5

______: The logic needed to create components.

React

6

_____ ____: Renders the components to the DOM.

React DOM

7

A tool which compiles the next generation JavaScript code to run in the browser.

Babel

8

Why React?

• With vanilla JavaScript, the UI state becomes difficult to manage. In larger JS applications, you have manually target elements in your DOM and if you change the structure of your HTML code, chances are you will need to change the way you targeted your elements because you used query Selector.
• Even if you use jQuery, traversing the DOM is easier, but it's still always something you have to keep in mind.
• React helps us by making the whole UI state management a non-issue, allowing you to dynamically add and remove ingredients.
• Allows us to focus on business logic, not preventing your app from exploding.
• Has a huge ecosystem, active community, high performance.

9

What are the two kinds of application?

1. Single Page Applications
2. Multi Page Applications

10

What is a single page application?

Only one HTML page
• Content is (re)rendered on client

11

What is a multi page application?

Multiple HTML pages
• Content is rendered on server

12

What type of application allows you to fully integrate React?

A single page application. A multi page application can not be under React's full control. The individual widgets don't know of each other's existence.