Pure React: A hands-on, learn-by-doing intro to React for beginners, 4th EditionКНИГИ » ПРОГРАММИНГ
Название: Pure React: A hands-on, learn-by-doing intro to React for beginners, 4th Edition Автор: Dave Ceddia Издательство: Independently Published Год: 2019 Страниц: 244 Язык: английский Формат: pdf (true), epub Размер: 17.3 MB
You’ll get hands-on practice by building a series of small components and micro apps — no big monolithic app here. The bite-size apps will have you reviewing concepts until they’re second nature.
What does the book cover?
An introduction to React 16.9 (the latest one, with Hooks) Easy project setup with Create React App (you’ll be running code within minutes) Debugging strategies for when things go wrong Master JSX syntax, including “if”s, loops, and dynamic child components Use props to make reusable components and communicate between them How PropTypes can save you debugging time and help “future you” remember how to use the components you wrote Use the “children” prop to render dynamic content How to write React in modern ES6 javascript, with just-in-time notes about ES6 syntax How input controls work in React Where and how to properly use state in your app Learn the lifecycle of a component (and how to achieve the same results with the useEffect hook) Learn to use the React Context API to pass data deeply through your app without prop drilling Build stateful function components with React Hooks! How to use each hook individually, and in combination useState for simple state useEffect for side effects (and you’ll learn what a “side effect” is) useReducer for more complex state useContext to easily pull data out of Context useRef for inputs and more
The book has more than 17 step-by-step examples of React concepts, as well as 42 exercises to reinforce your knowledge.
You’ll start off with some simple components (tweets, dialog boxes, emails) and grow into more complex mini-apps. By the end you’ll have the skills to build that Slack clone you saw above, plus simplified versions of Trello, Hacker News, Pinterest, and Reddit.
Скачать Pure React: A hands-on, learn-by-doing intro to React for beginners, 4th Edition
React: Up & Running: Building Web Applications Название: React: Up & Running: Building Web Applications Автор: Stoyan Stefanov Издательство: O'Reilly Год: 2016 Страниц: 222 Формат: PDF Размер:...