{"library":"react-refresh","type":"library","category":null,"description":"React Refresh is the core package that implements Fast Refresh, React's official hot reloading mechanism designed for a superior development experience. This feature allows developers to instantly see changes to React components without losing their local state, significantly speeding up the feedback loop during development. It achieves this by updating only the necessary component code and re-rendering, preserving state for functional components and Hooks. The `react-refresh` package itself, currently at version 0.18.0 (last published in October 2025), provides the underlying runtime and Babel transform. It is primarily consumed by bundler-specific plugins, such as `@pmmmwh/react-refresh-webpack-plugin` for Webpack or `@vitejs/plugin-react` for Vite, rather than being imported directly into application code. It maintains an active release cadence, with updates demonstrating sustainable maintenance. Fast Refresh differentiates itself from older hot-reloading solutions by being officially supported by the React team, offering greater reliability, and prioritizing safe state preservation.","language":"javascript","status":"active","version":"0.18.0","tags":["javascript","react"],"install":[{"cmd":"npm install react-refresh","imports":["plugins: ['react-refresh/babel'] // in Babel config or babel-loader options","// Handled by bundler plugins, e.g., injected preamble. Not for direct app import.","import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin'","import react from '@vitejs/plugin-react'"]},{"cmd":"yarn add react-refresh","imports":[]},{"cmd":"pnpm add react-refresh","imports":[]}],"homepage":"https://react.dev","github":"https://github.com/facebook/react","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-refresh","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-refresh/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}