React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable and easier to debug.
Si algo hace falta en la documentación, o si estas confundido, por favor abre un caso en el repositorio de la documentación con tus sugerencias para mejoras, o envía un tweet a la cuenta de @reactjs.
React te ayuda a crear interfaces de usuario interactivas de forma sencilla. Diseña vistas simples para cada estado en tu aplicación, y React se encargará de actualizar y renderizar de manera eficiente los componentes correctos cuando los datos cambien. Las vistas declarativas hacen que tu código sea más predecible, por lo tanto, fácil de depurar.
First, let’s review how you transform lists in JavaScript. Given the code below, we use the map() function to take an array of numbers and double their values. We assign the new array returned by map() to the variable doubled and log it:
React rende la creazione di UI interattive facile e indolore. Progetta interfacce per ogni stato della tua applicazione. Ad ogni cambio di stato React aggiornerà efficientemente solamente le parti della UI che dipendono da tali dati. La natura dichiarativa dell’UI rende il tuo codice più prevedibile e facile da debuggare.
This funny tag syntax is neither a string nor HTML. It is called JSX, and it is a syntax extension to JavaScript. We recommend using it with React to describe what the UI should look like. JSX may remind you of a template language, but it comes with the full power of JavaScript. JSX produces React “elements”. We will explore rendering them to the DOM in the next section. Below, you can ...
React macht es dir leicht, interaktive Benutzeroberflächen zu erstellen. Erstelle einfache Ansichten für jeden Zustand deiner Anwendung und React wird sobald du Daten änderst, effizient die richtigen Komponenten aktualisieren und rendern. Deklarative Ansichten machen deinen Code vorhersehbarer und leichter zu debuggen.
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. This page describes the APIs for the built-in Hooks in React. If you’re new to Hooks, you might want to check out the overview first. You may also find useful information in the frequently asked questions section. Basic Hooks useState useEffect useContext Additional Hooks ...