awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
gaearon avatar

gaearon/react-hot-loader

0
View on GitHub↗
12,175 stars·779 forks·JavaScript·MIT·6 vuesgaearon.github.io/react-hot-loader↗

React Hot Loader

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 project integrates with module bundlers to automate the injection of hot replacement logic. Its capability surface covers real-time updates for lazy-loaded and code-split components, module replacement diagnostics, and the ability to exclude specific components from the reloading process.

Features

  • Real-Time Runtime Updates - Provides real-time updates for user interface components while preserving internal state and mount points.
  • Hot Reloading Tools - Provides a comprehensive utility for live code injection and state preservation during React development.
  • Hot Code Reloading - Enables an iterative development workflow where UI changes are reflected instantly without page refreshes.
  • Hot Module Replacement - Integrates with module bundlers to inject hot replacement logic for real-time module updates.
  • Hook Runtime Updates - Refreshes functional component hooks when dependencies or function bodies change during hot replacement.
  • Component Proxies - Wraps components in proxies to maintain a stable mount point while updating the underlying implementation.
  • Hot-Reload State Preservation - Maintains internal application state across hot module updates by swapping component logic without unmounting the tree.
  • State-Preserving Logic Swapping - Maintains internal application state by swapping component logic without unmounting the component tree.
  • Hook Order Validation - Forces component remounting when hook sequences change to prevent state mismatches in functional components.
  • Hook Sequence Synchronization - Triggers a local tree remount when hook order changes to prevent state mismatches between versions.
  • Code-Split Update Support - Ensures components loaded via lazy loading or code splitting boundaries are updated correctly during hot replacement.
  • Proxy Type Validation - Compares proxied components to determine if they share the same type while ignoring reference changes from reloading.
  • Update Error Interception - Intercepts rendering errors during hot updates to prevent the entire application from crashing due to bugs.
  • Build Tool Integrations - Provides plugins and loaders to automate the injection of hot replacement logic during the build process.
  • Reference-Agnostic Comparisons - Determines if components share the same type by ignoring reference changes caused by hot reloading.
  • HMR Proxies - Wraps components in proxies to replace underlying logic without unmounting the component tree.
  • Error Boundaries - Implements temporary error boundaries to isolate failures during hot updates and prevent application crashes.
  • Hot-Reload Error Overlays - Injects local error boundaries during updates and displays a global error overlay for reporting.
  • UI State Preservation - Implements techniques to preserve the internal state of UI components while they are being updated in real time.
  • React Ecosystem - Enables real-time component updates.

Historique des stars

Graphique de l'historique des stars pour gaearon/react-hot-loaderGraphique de l'historique des stars pour gaearon/react-hot-loader

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à React Hot Loader

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec React Hot Loader.
  • vuejs-templates/webpackAvatar de vuejs-templates

    vuejs-templates/webpack

    9,644Voir sur GitHub↗

    This project is a pre-configured build template for Vue.js applications using Webpack. It provides a structured project boilerplate and a frontend build pipeline designed to bootstrap development environments and compile application code into distributable bundles. The template includes a development environment with hot module replacement, error overlays, and source maps to allow for instant updates in the browser without losing application state. It also features a project generator that establishes folder structures and configurations for routing, linting, and testing. The build system co

    JavaScript
    Voir sur GitHub↗9,644
  • fredkschott/snowpackAvatar de FredKSchott

    FredKSchott/snowpack

    19,329Voir sur GitHub↗

    Snowpack is an ESM-powered frontend build tool and development server that serves native ES modules directly to the browser. By eliminating the bundling process during development, it enables nearly instant server startup and unbundled frontend development. The project features a framework-aware hot module reload system that preserves component state during updates, with specific Fast Refresh integration for React, Preact, Svelte, and Vue. It also acts as a modern web transpiler, automatically converting TypeScript, JSX, and CSS Modules into browser-compatible code without requiring manual co

    JavaScript
    Voir sur GitHub↗19,329
  • facebook/reactAvatar de facebook

    facebook/react

    245,669Voir sur GitHub↗

    React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional data flow.

    JavaScriptjavascriptuifrontend
    Voir sur GitHub↗245,669
  • johnno1962/injectionforxcodeAvatar de johnno1962

    johnno1962/injectionforxcode

    6,537Voir sur GitHub↗

    This project is an Xcode runtime code injector and developer productivity tool. It enables the injection of Swift and Objective-C code changes into a running application without requiring a process restart, functioning as a hot module replacement tool for iOS development. The tool provides a dynamic UI debugger for reloading storyboards and tuning visual parameters in real time. It allows for the recompilation of individual classes and the binding of new implementations into a live process, avoiding full project rebuilds. The system covers runtime injection capabilities, including automated

    Objective-C
    Voir sur GitHub↗6,537
Voir les 30 alternatives à React Hot Loader→

Questions fréquentes

Que fait gaearon/react-hot-loader ?

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.

Quelles sont les fonctionnalités principales de gaearon/react-hot-loader ?

Les fonctionnalités principales de gaearon/react-hot-loader sont : Real-Time Runtime Updates, Hot Reloading Tools, Hot Code Reloading, Hot Module Replacement, Hook Runtime Updates, Component Proxies, Hot-Reload State Preservation, State-Preserving Logic Swapping.

Quelles sont les alternatives open-source à gaearon/react-hot-loader ?

Les alternatives open-source à gaearon/react-hot-loader incluent : vuejs-templates/webpack — This project is a pre-configured build template for Vue.js applications using Webpack. It provides a structured… fredkschott/snowpack — Snowpack is an ESM-powered frontend build tool and development server that serves native ES modules directly to the… facebook/react — React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional… johnno1962/injectionforxcode — This project is an Xcode runtime code injector and developer productivity tool. It enables the injection of Swift and… wxt-dev/wxt — WXT is a development framework and build tool for creating browser extensions. It transforms source code into… johnno1962/injectioniii — InjectionIII is a suite of development utilities designed for runtime code reloading, expression evaluation, and…