-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Hot reloading or JS/HTML backend? #107
Comments
The error you get is a hot reload error (most reloads fail at the moment because our class names are not stable enough). The workaround is to just press [return] in the terminal. This will trigger a hot restart. As of JS. We have no plan to bypass flutter. However did you try a production build. The JS should be smaller. |
Hitting enter takes quite long cause its triggering many phases. Thanks for the tip about production build will try. Maybe some special dummy function suggesting a class name can be introduce for what programmers considers to be a component till a better solution is found. Cause if it was possible to have 1 sec hot reload cycles it would be awesome. |
How long are your reload and restart cycles? |
Related to #42 |
Relead doesn't happen at all right now. Will try a setup eg docker I can reproduce. https://github.com/Tensegritics/ClojureDart/blob/main/doc/flutter-quick-start.md and yes release build only 3.2MB (total resources) targeting web html. Which is much but bearable. Still much for just a simple counter. |
Several things going on here:
|
samples/counter -> duplicate the text widget and i get:
Restarting the pocess works but is very time consuming.
Even flutter to web causes a 5.9MB JS libarry to be loaded.
Are there are any plans to reimplement some flutter widgets so that they can be translated to simple and fast HTML/JS nut using Flutter?
The text was updated successfully, but these errors were encountered: