mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
030663bb06
Summary: - Companion PR to https://github.com/facebook/metro/pull/1085 - The Fast Refresh changes appear to be required for using static rendering and React DOM. In frameworks like Expo Router which support both native and web, this causes users to not be able to use Fast Refresh on web. ## Changelog: [GENERAL] [CHANGED] - Upgrade React Refresh package from 0.4.0 to 0.14.0 Pull Request resolved: https://github.com/facebook/react-native/pull/39486 Test Plan: 1. In a React Native project's `package.json`: ```json "resolutions": { "react-refresh": "~0.14.0" }, ``` 2. Start the server with a clear Metro cache. 3. Changes should update while preserving React state. Reviewed By: huntie Differential Revision: D49348078 Pulled By: robhogan fbshipit-source-id: ac3dcb096c35c6c29c6e6a919cf263559bceaa7c