expo-cli icon indicating copy to clipboard operation
expo-cli copied to clipboard

Support Fast Refresh for Expo Web

Open EvanBacon opened this issue 5 years ago • 5 comments

  • when it's done https://github.com/facebook/react/issues/16604

EvanBacon avatar Jan 31 '20 02:01 EvanBacon

#16660 seems to be a wrong link

ksjogo avatar Jan 31 '20 10:01 ksjogo

~~This works with EXPO_WEBPACK_FAST_REFRESH=true btw~~ -- removed in #3697 due to reliability concerns across platforms.

EvanBacon avatar Sep 15 '20 23:09 EvanBacon

@EvanBacon EXPO_WEBPACK_FAST_REFRESH doens't work. Any update? 😁

yomybaby avatar Jul 30 '21 13:07 yomybaby

Yes I remove the experimental setup in https://github.com/expo/expo-cli/pull/3697 because it wasn't working properly. You can easily recreate the implementation locally with this guide https://dev.to/expo/fast-refresh-with-expo-web-3di2 (one plugin).

EvanBacon avatar Aug 02 '21 20:08 EvanBacon

This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

github-actions[bot] avatar Apr 12 '22 21:04 github-actions[bot]

Fast Refresh is available in experimental Metro web support. We're getting ~4x faster refreshes than we were getting with Webpack Fast Refresh.

EvanBacon avatar Oct 27 '22 01:10 EvanBacon

How about when bundling a web project with metro? Any ETA on fast refresh support?

Lab3l avatar Nov 22 '22 13:11 Lab3l

https://github.com/expo/expo/pull/18422

The feature is already enabled by default in Expo Router.

EvanBacon avatar Nov 24 '22 15:11 EvanBacon

Decided to move forward with using Metro instead of Webpack, I'll no longer be adding new features to Webpack. Fast Refresh is already in Expo CLI's Metro for web, and it's ~4-6x faster than Webpack Fast Refresh.

EvanBacon avatar Jan 29 '23 06:01 EvanBacon