SPA
React is a framework released by facebook for creating Single Page Application. When a client make a request, the server is left out if no data from the server is required. The browser loads HTML document, then Javascript loads and unloads views.JSX
With React, we interact with a virtual DOM which is used to construct the actual DOM. We use JSX to construct a virtual DOM with React elements (Javascript objects). JSX is a syntax extension to Javascript.Questions and answers
What is SPA?
- a) Server page app
- b) Single page app
In SPA
- a) Server loads html document
- b) Javascript loads and unloads views
What is JSX?
- a) a javascript extension
- b) a language to manipulate real DOM
Which javascript specification uses classes?
- a) ES6
- b) Javascript 5