Inside Fiber: in-depth overview of the new reconciliation algorithm in React
- Setting the background
- From React Elements to Fiber nodes
- General algorithm
- Commit phase
#react #fiber #reconciliation
- Setting the background
- From React Elements to Fiber nodes
- General algorithm
- Commit phase
#react #fiber #reconciliation
Donβt put that in React State β Thinking in React
- Rule #1: Donβt duplicate data from props to state.
- Rule #2: Donβt keep any data in the state unless you use it in rendering
- Rule #3: Donβt add something to the state which can be derived directly from existing state properties
#react
- Rule #1: Donβt duplicate data from props to state.
- Rule #2: Donβt keep any data in the state unless you use it in rendering
- Rule #3: Donβt add something to the state which can be derived directly from existing state properties
#react
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
- What is useMemo?
- What does React say about useMemo?
- Hypothesis
- Benchmarking Setup
- Results
#react #hooks #performance
React folder structure for enterprise level applications
The goal of this article is to explain the reasoning behind this structure so that you can use these ideas to architect the best solution for your project.
#react
The goal of this article is to explain the reasoning behind this structure so that you can use these ideas to architect the best solution for your project.
#react
Three ways to handle data fetching logic in React projects!
- The Simplest Way
- The Redux Way
- The React Query Way
- So, which is the best way?
#react
- The Simplest Way
- The Redux Way
- The React Query Way
- So, which is the best way?
#react
How and Why You Should Store React UI State in the URL
- Bring back deep linking on the web
- Dead-Simple Deep Linking
- The Code
#react #statemanager
- Bring back deep linking on the web
- Dead-Simple Deep Linking
- The Code
#react #statemanager
React Architecture Patterns for Your Projects
Navigating a Directory Structure
Create Custom Hooks
Use Absolute Imports
Open Source Session Replay
Separate business logic from UI
The Utils directory
Avoiding creating a single Context for everything
#react
Navigating a Directory Structure
Create Custom Hooks
Use Absolute Imports
Open Source Session Replay
Separate business logic from UI
The Utils directory
Avoiding creating a single Context for everything
#react
Commit Better Code with Husky, Prettier, ESLint, and Lint-Staged
Tools of the Trade π§°
Commiting Clean Code to a Project
Adding ESLint and Prettier
Configuring Husky
Testing Our Setup
Further Resources
#react
Tools of the Trade π§°
Commiting Clean Code to a Project
Adding ESLint and Prettier
Configuring Husky
Testing Our Setup
Further Resources
#react
Simple Readable Client-side Architecture β React
UI Components
Containers
Interactions
API Related Data
Global states
Selectors
Benefits
Readability
Shareability
Testability
Conclusion
#react #architecture
UI Components
Containers
Interactions
API Related Data
Global states
Selectors
Benefits
Readability
Shareability
Testability
Conclusion
#react #architecture
Top 6 React state management libraries for 2022
Recoil
Jotai
Redux
Rematch
Zustand
Hookstate
React Context
#react
Recoil
Jotai
Redux
Rematch
Zustand
Hookstate
React Context
#react
Why React Re-Renders
The core React loop
It's not about the props
Profiling with the React Devtools
Going deeper
Bonus: Performance tips
#performance #react
The core React loop
It's not about the props
Profiling with the React Devtools
Going deeper
Bonus: Performance tips
#performance #react