Название: React for Real Front-End Code, Untangled
Издатель: The Pragmatic Programmers
Кол-во страниц: 136
Many web applications allow users to browse and edit content without reloading the page—for example, editing a document, selecting people to email from a contact list, or even browsing a list of events and buying a ticket. While web pages used to be just about the display of information, now a fair amount of business logic might run in the browser. To handle this logic, you often create specialized code—the data model for your application.
You could add DOM elements with native browser functions such as appendChild and change element contents by overwriting the innerHTML attribute on DOM nodes. This forces you to spend time on boilerplate code, away from your application’s core logic. Since this boilerplate turns out similarly across different web applications, it makes sense to offload DOM manipulation to a library.
In this book, you’ll learn the fundamentals of building user interfaces with React and how to prepare an application for production so that it loads efficiently. You’ll also test components, use React with the Redux library for more complex applications, and work with other libraries. You’ll get hands-on practice as you work through complete examples.