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
xtensio provides hot module reloading to developers and this is supported mainly in popup, pages & contents.
Most of our issues exist in HMR for contents. This is because we manage to provide HMR to code that is supposed to manipulate an existing website.
Issues
Reloading a content page re-applies all previous HMR modules. It's expected to start from the final state reached.
State loss when a React component is updated. eg. when a component has states & some text, updating the text will reset all the states
Issues with Error recovery. when a component has some errors which are later corrected, the client app doesn't recover from the error but still shows the error page.
Entry point module update issues. currently, our users write code at the entry point which is wrong. In HMR update at the entry point mostly require a full reload of the application. Hence, we need to move user code 1-level above entry code.
What to look for
Below are some resources which will be vital in making HMR awesome in xtensio.
Description
xtensio provides hot module reloading to developers and this is supported mainly in
popup
,pages
&contents
.Most of our issues exist in HMR for
contents
. This is because we manage to provide HMR to code that is supposed to manipulate an existing website.Issues
What to look for
Below are some resources which will be vital in making HMR awesome in xtensio.
The text was updated successfully, but these errors were encountered: