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
Is your feature request related to a problem? Please describe.
Adding support for Hot Module Resolution(HMR) requires a registration process to hot swap component constructor, template and stylesheet. Today we have a mechanism to register a template and component constructor as trusted. This feature request is to provide a similar registration mechanism for StyleSheets.
When a new style is being registered for swap, it can be validated before being used.
Describe the solution you'd like
Provide a registerStyleSheet() API from 'lwc' module
Additional context
This requirement originated while reviewing this PR #1860
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Adding support for Hot Module Resolution(HMR) requires a registration process to hot swap component constructor, template and stylesheet. Today we have a mechanism to register a template and component constructor as trusted. This feature request is to provide a similar registration mechanism for StyleSheets.
When a new style is being registered for swap, it can be validated before being used.
Describe the solution you'd like
Provide a
registerStyleSheet()
API from 'lwc' moduleAdditional context
This requirement originated while reviewing this PR #1860
The text was updated successfully, but these errors were encountered: