Erstellt von Carlos Magno
vor mehr als 4 Jahre
|
||
Declarative views make your code more predictable and easier to debug.
Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM.
We don’t make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code.
Under the hood, it uses Babel and webpack, but you don’t need to know anything about them.
To get our feet wet, let’s try passing some data from our Board component to our Square component.