Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When autoscroll is used, the code generates some bytes in the state, because the containers used for head, body and form are used after markInitialState() call.
The solution is subscribe a listener that adds and remove a dummy resource when the container is not created by other code.
Also, it is a good idea to set the ids of the added components (body script and hidden field). In this way, it is not necessary to generate an unique value and store it into UIViewRoot.