Book Image

React 18 Design Patterns and Best Practices - Fourth Edition

By : Carlos Santana Roldán
4.2 (6)
Book Image

React 18 Design Patterns and Best Practices - Fourth Edition

4.2 (6)
By: Carlos Santana Roldán

Overview of this book

React helps you work smarter, not harder — but to reap the benefits of this popular JavaScript library and its components, you need a straightforward guide that will teach you how to make the most of it. React 18 Design Patterns and Best Practices will help you use React effectively to make your applications more flexible, easier to maintain, and improve their performance, while giving your workflow a huge boost. With a better organization of topics and knowledge about best practices added to your developer toolbox, the updated fourth edition ensures an enhanced learning experience. The book is split into three parts; the first will teach you the fundamentals of React patterns, the second will dive into how React works, and the third will focus on real-world applications. All the code samples are updated to the latest version of React and you’ll also find plenty of new additions that explore React 18 and Node 19’s newest features, alongside MonoRepo Architecture and a dedicated chapter on TypeScript. By the end of this book, you'll be able to efficiently build and deploy real-world React web applications.
Table of Contents (20 chapters)
18
Other Books You May Enjoy
19
Index

Index

Symbols

$db 262

$security 262

$server 262

#CSSinJS 9

.env.example 261

.env file

configuring 261

.gitignore 261

A

animations

implementing 87, 88

API package

Apollo Server 378, 380

creating 361, 363

CRM service, testing 381-383

custom GraphQL types and resolvers, creating 375-378

custom models, creating 372, 373

custom services, creating 368-370

model seeds, creating 374

models, synchronizing 378, 380

service configuration, building 370

user-shared GraphQL type and resolver, creating 365-367

user-shared model, creating 363

Apollo Client

configuring 318

Apollo Server 350

configuring 263-266

used, for building backend login system 258

working 378, 380

app routes

creating 319

Atomic CSS modules 114, 115

authentication functions 276

creating 278, 279

JWT functions, creating 276, 278

types and interfaces, defining 279, 281

automatic batching...