Large Scale Apps with React and TypeScript Год издания: 2023 Автор: Fusco D. Издательство: Leanpub ISBN: отсутствует Язык: Английский Формат: PDF/ePub Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 228 Описание: uild Large and Scalable front-ends that leverage component isolation, a centralized state manager, internationalization, localization, Custom Component Libraries, API-client code that easily can switch between mocked data and live data and more. When we refer to “large scale apps”, we mean applications that have a large code base, a large number of users, and a wide range of functionality. These applications typically require efficient and scalable code that can handle high traffic and large amounts of data. React is a popular javascript library for building user interfaces. It offers several benefits for developers, such as: • Declarative code structure: React uses a declarative syntax, making it easier for developers to understand how the UI should react to changes in data. • Reusable components: React’s component-based architecture allows for building reusable UI components, making it easier to maintain and scale the codebase. • Virtual DOM: React uses a virtual DOM, which optimizes updates and rendering, resulting in improved performance compared to directly manipulating the actual DOM. • Server-side rendering: React allows for server-side rendering, improving the initial load time and making it easier to optimize search engine optimization (SEO). • Large community: React has a large and active community, which means developers have access to a wealth of resources, including tutorials, libraries, and support. Vite is a modern build tool for javascript projects that aims to provide fast and efficient builds. It offers several benefits, including: • Faster build times and development experience compared to traditional bundlers. • Lower initial load times, as only the essential code is loaded • Improved build size, as Vite only includes the necessary code • Lightweight and optimized for modern web development.
Примеры страниц
Оглавление
LARGE SCALE APPS WITH REACT AND TYPESCRIPT 1 Preface 3 Prerequisites 6 Companion Code 7 Chapter 1 - Setting Up The Project 8 Chapter 2 - Your First Component 12 Chapter 3 - Data Models and Interfaces 21 Chapter 4 - Adding Events To the Items Component 29 Chapter 5 - Intro to Unit Testing While Refactoring a Bit 38 Chapter 6 - Introducing State Management 55 Chapter 7 - Api Client 77 Chapter 8 - Enhance the Api Client 106 Chapter 9 - App Configuration 131 Chapter 10 - Localization and Internationalization - Language Localization 151 Chapter 11 - Localization and Internationalization - Number and DateTime Chapter 12 - Adding Tailwind CSS 191 Chapter 13 - Intro to Primitives 196 Chapter 14 - More Primitives 204 Chapter 15 - A Primitive Modal 215 Chapter 16 - Higher-level components 231 Chapter 17 - Creating Component Libraries 239 Chapter 18 - Creating a JavaScript library 249 Chapter 19 - Publish a library as a NPM package 259 (More Chapters Coming Soon) 263 Bonus Chapter - using create-react-app 264 Bonus Chapter - Vitest 268 Naming Conventions 275 Resources 279
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum