

Single-Page Apps (SPAs): These are websites that interact with the user by dynamically rewriting the current web page with new data from a server, rather than the browser default of loading entire new pages. If you're planning to create a web app that will be deployed for production, you may want to consider installing create-react-app on Windows Subsystem for Linux (WSL), for better performance speed, system call compatibility, and alignment between your local development environment and deployment environment (which is often a Linux server). Windows supports a wide range of scenarios for React developers, including:īasic web apps: If you are new to React and primarily interested in learning about building a basic web app with React, we recommend that you install create-react-app directly on Windows. Install a React development environment on Windows Subsystem for Linuxįor help determining which environment to use, check out Should I install on Windows or Windows Subsystem for Linux? What can you do with React?.

Install a React development environment on Windows.Windows supports two different environments for developing React apps: In a web app, the JSX code returned by the component is translated into browser-compliant HTML rendered in the browser.

A React component implements the render method, which returns the JSX representing the component's UI. React components are typically written in JavaScript and JSX (JavaScript XML) which is a JavaScript extension that looks likes a lot like HTML, but has some syntax features that make it easier to do common tasks like registering event handlers for UI elements. You can place an individual component on a web page or nest hierarchies of components to create a complex UI. Unlike other JavaScript libraries that provide a full application framework, React is focused solely on creating application views through encapsulated units called components that maintain state and generate UI elements. React is an open-source JavaScript library for building front end user interfaces. Feedback In this article What is React JS?
