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
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> with id=“master”.
Is there any way to assign an id other than id=“master” or hook into the Master CSS lifecycle to remove styles pre-rendered at runtime?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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