Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about hmr react-refresh/babel #250

Closed
yuedud opened this issue Apr 9, 2022 · 3 comments
Closed

about hmr react-refresh/babel #250

yuedud opened this issue Apr 9, 2022 · 3 comments

Comments

@yuedud
Copy link

yuedud commented Apr 9, 2022

Feature request

hello, I have a problem, Because I've been working on HMR, react-fast-refresh is so good, its can greatly enhance our development experience, I noticed that using it requires adding a plug-in to babel-loader,its react-refresh/babel,if i want to use esbuild-loader,I will can't to use it, I'm not sure esbuild-loader will support it in the future?

Why?

enhance developer experience.

Alternatives

No response

Additional context

No response

@privatenumber
Copy link
Owner

esbuild-loader is just a wrapper for esbuild so that would be out of scope.

@Nantris
Copy link

Nantris commented Aug 4, 2022

Bummer. Is there no way to accommodate React-Refresh when using esbuild-loader? The performance gains sound awesome but they can't outweigh losing access to React-Refresh

@privatenumber
Copy link
Owner

Maybe there is. Try asking in the React communities or the React Refresh repo if there is one (sorry, I don't know much about React).

This repo is just for plugging in esbuild to Webpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants