Advanced React PatternsReactPatterns: Compound ComponentsThe Compound Components Pattern lets related components share internal state while exposing a…Daniel NguyenJuly 21, 2025 1 min
Advanced React PatternsReactPatterns: CompositionUse component composition to avoid passing props through components that don't need them. It makes…Daniel NguyenJuly 20, 2025 1 min
Advanced HookReactAdvanced Hook: useSyncExternalStore()useSyncExternalStore is a React Hook introduced in React 18 that lets components subscribe to…Daniel NguyenJuly 19, 2025 1 min
Advanced HookReactAdvanced Hook: createPortal()React Portals let you render JSX into a different DOM node while keeping the component logically…Daniel NguyenJuly 18, 2025 1 min
Advanced HookReactAdvanced Hook: flushSync()Focus management is essential for interactive React UIs, especially forms, modals, and dynamically…Daniel NguyenJuly 17, 2025 1 min
Advanced HookReactAdvanced Hook: useImperativeHandle()Sometimes, a parent component needs to trigger a specific action inside a child component, such as…Daniel NguyenJuly 16, 2025 1 min