feat: don't hydrate
class name in html
tag anymore
#6091
Labels
Request For Comments
Seeking commentary on an issue or PR from the community
Prerequisites
Describe the Feature Request
Currently Stencil sets a
hydrate
class name on thehtml
tag do avoid flicker effects in Ionic applications. Ionic uses the following style to enable it:The problem with this approach is that Next.js applications throw an error as they interpret this as an unintentional.
Describe the Use Case
Especially when components are lazy loaded we have to ensure that applications can load smoothly.
Describe Preferred Solution
We should not block the application from being visible just because there are some Stencil components that take longer to load. I think the best approach here is to just remove this behavior from the
appDidLoad
function. However this may have an impact on the Ionic project which we need to evaluate.Describe Alternatives
No response
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: