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, for the happy-path use case, we add a lot of CSS rules with JS code by directly updating the head HTML element in the DOM.
We could instead create the rules using the CSSStyleSheet.insertRule API.
The text was updated successfully, but these errors were encountered:
tbouffard
changed the title
[REFACTOR] Use the CSSStyleSheet API to create CSS rule in the happy-path use case
[REFACTOR] Happy Path: use the CSSStyleSheet API to create CSS rule
Oct 23, 2022
Note: not needed if we implement #39
Currently, for the happy-path use case, we add a lot of CSS rules with JS code by directly updating the head HTML element in the DOM.
We could instead create the rules using the CSSStyleSheet.insertRule API.
https://github.com/assynour/icpm-demo-2022/blob/aef4e01609ccd557a5e8fd615fd4112889ae3e47/src/happy-path.js#L80-L89
The text was updated successfully, but these errors were encountered: