Create a React Hooks Library & Effective Hooks with ex-Revolut Frontend Platform Lead, Andrey Los

preview_player
Показать описание

React Hooks promise to eliminate the difficulties of sharing state without writing class-based components. The challenge is that Hooks do away with the lifecycle methods and class-based semantics of state management that many React developers were familiar with. Learning to use both the in-built React Hooks and implement your own Custom Hooks, however, is essential to unlock the code reuse and many other advantages that this update offers for any React-based project. The newline Guide to Creating a React Hooks Library, teaches the common Hooks APIs every React developer should know, then dives straight into implementing your own Custom React Hooks, similar to what you will find in leading React libraries in the open source React ecosystem. By the end of the course you’ll be able to build your own React Hooks library, have acquired best practices that will make your code reusable, and gain the confidence needed to contribute to any React codebase using React Hooks.


Connect with \newline Online!

#newline #ReactHooks #HooksLibrary

Chapters
0:00 Course Overview
02:23 Environment Setup
06:02 Initial Project Setup
08:46 Setting up ESLint and Prettier
20:26 WebStorm ESLint Prettier Setup
23:33 VSCode ESLint Prettier Setup
27:49 Setting up TypeScript
32:54 Testing Environment Setup
37:33 Hooks API Considerations
44:00 Implementing useBoolean Hook
53:25 Testing useBoolean Hook
Рекомендации по теме