React for Real Front-End Code, Untangled. L. Fischer
React for Real Front-End Code, Untangled. L. Fischer

React for Real Front-End Code, Untangled. L. Fischer

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.

Image

In all these applications, you must update the user interface and data model consistently. Since every web page is a tree of elements, called the DOM, you could apply a change directly to the DOM on every action, but this makes it difficult to distinguish business logic from visual adjustments.

When you make visual adjustments, you manipulate DOM elements to change the appearance of the user interface. That’s why web developers have started to prefer to store the data in a separate data structure, like a JavaScript object. But now you have a new problem: you need to communicate the changes from the data structure to the DOM and back.

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.

React is a JavaScript library that automatically updates the DOM when the data changes. It makes writing highly interactive web pages faster and more reliable. It’s easy to use and integrates with a wealth of techniques and other libraries

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.

 

Скачать книгу можно бесплатно по данной ссылке: Скачать

0
1
0
0
0
0
0
0
0
0 Комментарии

Бесплатное образование

ПРИСОЕДИНЯЙТЕСЬ
Mainkan Lucky Tiger Dengan Pola Paling Banyak Bonus Main Lucky Tiger 1000 Dengan Pola Terbaik Pola Dapatkan Bonus Free Spin Lucky Dog Paling Sering Pola Lucky Ox Terbaru Dengan RTP Tertinggi Pola Terbaik Princess Dengan RTP Gacor Sepang Hari Strategi Bermain Lucky Tiger Dengan Pola Wild Trik Bermain Lucky Mouse Dengan Pola Trik Dapat Scatter Olympus Agar Bonus Kali Trik Spin Manual Mahjong Ways Trik Spin Manual Princess Untuk Bonus X500 Rahasia Lucky Phoenix Dengan Simbol Api Rahasia Maxwin Mahjong 2 Super Bonus RTP Gacor Olympus Hari Ini RTP Lucky Dog Hari Ini Tinggi RTP Lucky Mouse Paling Tinggi Malam Ini RTP Lucky Tiger Konsisten Stabil RTP Mahjong Ways Hari Ini Naik RTP Starlight Princess Naik Drastis RTP Wild Bandito Lagi Panas Bonus Besar Strategi Gacor Gatotkaca Dengan Pola Perkalian Strategi Lucky Tiger Hari Ini Auto Strategi Pola Petir Olympus di Jam Gacor Sweet Bonanza Pola Gacor Pagi Hari Sweet Bonanza RTP Stabil Trik Main Mahjong Ways Dapat Bonus Scatter Slot Gacor Hari Ini Dengan RTP Tinggi dan Frekuensi Menang Stabil Rahasia Scatter Hitam Mahjong Ways 2 yang Sering Tiba-Tiba Muncul Strategi Menang dengan Scatter Mahjong Ways Tanpa Modal Besar Link Slot Gacor Update Harian Dengan Pola Teruji Pro Player Situs Slot Gacor Terbaru 2025 yang Sering Bagi-Bagi Maxwin Trik Pola Mahjong Ways 1 yang Masih Relevan Sampai Sekarang Slot Pragmatic Hari Ini Lebih Gacor dari Provider Lainnya Slot Olympus Paling Banyak Dicari karena Bocoran Jam Gacornya Situs Slot Pragmatic dengan Fitur Beli Free Spin Paling Stabil Pola Mahjong Ways 2 Terbukti Gacor di Jam Malam Olympus Slot dengan Kombinasi Petir Ungu Paling Gacor Olympus 1000 Kini Lebih Mudah Menang Lewat Pola Ini Mahjong Ways Scatter Hitam Bisa Picu Maxwin Jika Gunakan Pola Ini JP Mahjong Ways 2 Terbongkar Lewat Pola Sederhana Ini Gates of Olympus yang Selalu Kasih Scatter di 10 Spin Awal