1 repository
Handling of hot module replacement for components loaded via lazy loading or asynchronous chunks.
Distinct from Hot Code Reloading: Focuses on updating components that are split, rather than the act of splitting the code itself
Explore 1 awesome GitHub repository matching development tools & productivity · Code-Split Update Support. Refine with filters or upvote what's useful.
react-hot-loader is a developer utility for updating React components and hooks in real time. It functions as a state-preserving UI updater that wraps components in proxies, allowing the underlying logic to be replaced without unmounting the component tree. The tool maintains internal application state across hot module updates by swapping component logic while keeping the mount point constant. It includes mechanisms to intercept rendering errors during updates through temporary error boundaries and manages hook-order validation to prevent state mismatches when functional hooks change. The p
Ensures components loaded via lazy loading or code splitting boundaries are updated correctly during hot replacement.