FrontEndHubπŸ’»
65 subscribers
85 photos
4 files
268 links
A channel for developers who want to pump their skills.
Download Telegram
Custom React Hooks: Why Do We Need a Context

- Pure Hooks
- Custom
Hooks with Context
- When to Use What


#react #hooks
Under-the-hood of React Hooks

- React overview
- React Hooks
- The useState Hook

#react #hooks
Should You Really Use useMemo in React? Let’s Find Out.

- What is useMemo?
- What does React say about useMemo?
- Hypothesis
- Benchmarking Setup
- Results


#react #hooks #performance
CPT Custom Hooks, React Router

useHistory
useRouteMatch
useParams
useLocation


#react #hooks
How to useRef to Fix React Performance Issues

- The Problem
- The Aha Moment
- The Solution
- When to useRef

#react #hooks
Why custom react hooks could destroy your app performance

Let’s build a modal dialog on custom hooks
Performance implications
Adding more functionality to the useModal
hook

#react #hooks
How to write performant React code: rules, patterns, do's and don'ts

Let's structure our app first
Implementing Page component
Refactoring Page component - with performance in mind
Implementing the list of countries
Implementing selected country
Final polish: theming

#react #hooks