React JSAdvanced React APIs 5: PortalsPortals There are a variety of UI patterns that require a component render some part of its UI that…Daniel NguyenMay 25, 2025 1 min
React JSAdvanced React APIs 4: Shared ContextShared Context Let's say you have the following custom hook: Then, you have two components, one to…Daniel NguyenMay 24, 2025 3 min
React JSAdvanced React APIs 3: Custom HooksCustom Hooks Custom hooks are functions that use other hooks. That's it. That's the entire idea…Daniel NguyenMay 23, 2025 3 min
React JSAdvanced React APIs 2: State OptimizationState Optimization If you set state to the exact value it already is set to, React will not bother…Daniel NguyenMay 22, 2025 1 min
React JSAdvanced React APIs 1: Advanced State ManagementAdvanced State Management React's useState hook can get you a really long way with React state…Daniel NguyenMay 21, 2025 2 min
React JSLifecycle methodsBackground In applications with many components, it’s very important to free up resources taken by…Daniel NguyenMay 15, 2021 1 min