Advanced React and Redux with TypeScript (REA115)
Course Length: 2 days
Delivery Methods:
Available as private class only
Course Overview
This 3-day Introduction to React and Redux with TypeScript training class gets students up to speed quickly with React and Redux with TypeScript.
Course Benefits
Course Outline
- Setup
- Verifying Node.js and either NPM or yarn
- Verifying class libraries
- Verifying class files
- Verifying TypeScript setup
- IDE (WebStorm or Visual Studio Code preferred)
- Context
- What is the Context API?
- How to use the Context API
- Hooks-based Context: the useContext() hook
- Class-based Context
- Testing while using Context
- Advanced Redux
- Using reselect to minimize re-rendering
- Reselect, types, and function types
- Normalizing state
- Using types to help normalize state
- Higher-order reducers
- Helper libraries
- Using reselect to minimize re-rendering
- Introduction to routing
- What problem is routing trying to solve?
- How does routing solve this problem?
- Tying components to URLs
- Passing parameters via the URL
- Routing software: React Router
- Simple router example
- Routing types
- Testing routing
- More complex routing
- Top-level routing
- Routing at the top of your application
- Allowing other parts of the application to manage routing
- Redirects
- React-router objects and their types
- match
- history
- location
- Routing organizational techniques
- Testing advanced routing
- Top-level routing
- Advanced React
- Understanding and optimizing reconciliation
- Best practices for React reconciliation
- Recognizing common issues
- Making improvements
- Refs
- What's a ref?
- What problem does it solve?
- Ref types
- How can I use refs?
- Hooks: the useRef() hook
- Classes and createRef()
- The challenges of testing refs
- Render props
- Rendering in depth
- Rendering a function instead of a prop
- Using the render prop pattern
- Render props, function signatures, and types
- Testing render props
- Understanding and optimizing reconciliation
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors