You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, hot-reloading for web isn't functioning, causing prolonged waiting periods for developers during modifications. This wastes so much time during development.
Solution
I investigated the problem and found several issues with our current setup, here is a PR with the PoC
The key improvement is the ✨ state preservation ✨, since developers won't lose their current components state with each hot-reload.
Also I'm going to reach out to react-compiler team as I experience a crash when compiler is turned on and I try to refresh a component:
Before
hmr-not-working.mov
After
hmr.movIssue OwnerCurrent Issue Owner: @Upwork Automation - Do Not Edit
Problem
Currently, hot-reloading for web isn't functioning, causing prolonged waiting periods for developers during modifications. This wastes so much time during development.
Solution
I investigated the problem and found several issues with our current setup, here is a PR with the PoC
The key improvement is the ✨ state preservation ✨, since developers won't lose their current components state with each hot-reload.
Also I'm going to reach out to react-compiler team as I experience a crash when compiler is turned on and I try to refresh a component:

Before
hmr-not-working.mov
After
hmr.mov
Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @joekaufmanexpensify