expo / expo-cli

Tools for creating, running, and deploying universal Expo and React Native apps
https://docs.expo.io/workflow/expo-cli/
2.6k stars 477 forks source link

Enable react fast refresh in Webpack #4770

Closed ex3ndr closed 6 months ago

ex3ndr commented 8 months ago

Why

Not having a fast refresh in Expo Web is a show stopper for most developers and Metro usually not compatible with advanced web libraries. This PR adds fast refresh back to webpack config.

How

I have built a patch for my project using patch-package and then backported it for this PR

byCedric commented 6 months ago

Hi @ex3ndr! Thanks for the PR, unfortunately, we have moved all webpack related tooling into https://github.com/expo/expo-webpack-integrations and are not actively maintaining this anymore (we are switching to Metro support for web bundling).

If you still think we should move forward with this PR, please reopen this PR on https://github.com/expo/expo-webpack-integrations.

Hope this helps!