Replies: 1 comment
-
@totto2727 Pre-rendering CSS ensures a quick initial display in the browser. Subsequently, any dynamically generated HTML automatically has its classes extracted and CSS generated by the CSS runtime. This is the solution we currently advocate. Dynamic insertion of multiple |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some applications insert HTML retrieved from the server side into the DOM.
The HTML and Master CSS are always pre-rendered on the server side.
In this case, both the HTML for the initial display and any additional HTML for updating the DOM will be generated with,
id=“master”
.Therefore, there will be multiple
<style>
withid=“master”
.Is there any way to assign an
id
other thanid=“master”
or hook into the Master CSS lifecycle to remove styles pre-rendered at runtime?Sample
Beta Was this translation helpful? Give feedback.
All reactions