React.js Design Patterns: Learn how to build scalable React apps with ease

Автор: literator от 31-01-2023, 10:10, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

React.js Design Patterns: Learn how to build scalable React apps with easeНазвание: React.js Design Patterns: Learn how to build scalable React apps with ease
Автор: Anthony Onyekachukwu Okonta
Издательство: BPB Publications
Год: 2023
Страниц: 178
Язык: английский
Формат: pdf, epub (true), mobi
Размер: 10.3 MB

Get familiar with React design patterns and best practices to solve common React development problems.

Description
React is a jаvascript library created by Facebook to help build applications with components. In React, there are proven methods to solve common problems experienced by React developers. If you are looking for different ways how to choose your pattern when building a React app, then this book is for you.

The book starts by sharing the best practices for architecting your React app. It then helps you learn how to create clean, performant, and maintainable React components using jаvascript and TypeScript. The book helps you explore and work with some useful hooks in React. It also helps you learn how to enable server-side rendering for your React app. Later, the book will help you discover ways to style your React components effectively. Towards the end, the book will help you learn how to write tests for your React applications.

This book covers many different aspects of building applications with React.js, the importance of building scalable applications with React.js, and its best practices. This book has a deep dive into some of the bad practices we commonly do when writing our applications and shows us better ways how to architect our applications. This book takes a practical approach for React.js learners. It covers a few Real-time industry examples as well. It will cover information such as jаvascript, which Typescript is basically used for building React applications. It also covers state management, lifecycle methods, styling, and practical ways to structure your files to make them more readable and accessible.

By the end of the book, you will be able to build complex and maintainable React apps with jаvascript and TypeScript.

This book is divided into 9 chapters. They will cover basics and advanced React.js.
Chapter 1 This chapter will cover different patterns in writing React applications. Yes, React is opinionated, although it gives you the liberty to build and structure your applications according to your taste or that which fits your organization. However, there are some very bad practices that are not good and can have an effect on your application as your application begins to grow. This chapter will identify common bad practices out there and suggest better practices to help build scalable React applications. We will be using jаvascript and TypeScript for this chapter. — This seems to be redundant since TypeScript was not used in any example illustrated, and React is built on jаvascript.
Chapter 2 This chapter will cover how to write components. React is a component-based library whereby different reusable components are used to build an application. Basically, this chapter will outline the different ways of writing components which include functional and class-based components.
...
Chapter 9 will cover the testing of react components. We will be using Jest and Cypress for this chapter. Here, we will cover functional testing, integration testing, and end-to-end testing.

What you will learn
- Learn how to manage State with Hooks on React components.
- Learn how to style React components with CSS.
- Understand how to use Next.js for server-side rendering of your React app.
- Explore different ways to fetch data using API in React.

Who this book is for
This book is for Web developers, jаvascript developers, and Typescript developers who want to build complex and scalable apps with React. Software engineers and developers who are early in their React careers will find this book very helpful.

Скачать React.js Design Patterns: Learn how to build scalable React apps with ease








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.