
React Patterns Encountered in Production Work
おく2025.10.15
- • Pattern for passing Context to Server Components using Children API through Client Component wrapper, though explicit props are recommended
- • useIsSSR Hook implementation with useSyncExternalStore to detect server-side rendering and avoid DOM operation errors
- • Next.js modal implementation combining Parallel Routes and Intercepting Routes for soft navigation while preserving background layout