-
Notifications
You must be signed in to change notification settings - Fork 84
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
Investigate adding Fast-Refresh plugin into the Feliz.Template #203
Comments
OK so my attempts aren't yielding much results 😞 if someone gives this a try and succeeds, please let us know 🙏 |
If I wanted to look into it, where would I have to start? |
Here's an app using fast-refresh, webpack.config.js, package.json, hopefully that should help give you an idea. It's pretty straightforward for the most part. |
Follow up discussion on this issue from the fast-refresh plugin repository in Fable support for Feliz/React applications |
Almost done, waiting on two issues:
|
Isn’t the issue with both of these problems that you can only export React components from a file if fast refresh is going to work? I.e you cannot export anything else, otherwise it cannot create the boundary and goes up the tree? If you move those two scenarios into different files to separate them from the component, does that solve the issue? |
Current template supports react-refresh just fine 😄 |
In order to migrate the template gradually into a standalone React app instead of Elmish and only use Elmish when needed via Feliz.UseElmish library
The text was updated successfully, but these errors were encountered: