Skip to content

Warn when using hydration directive without Lazy prefix #32736

@TheAlexLichter

Description

@TheAlexLichter

Describe the feature

Right now, there is no warning when people use hydration strategies but forgetting to add the <Lazy prefix. This should give a warning during dev.

Example:

<MyComponent hydrate-never> instead of <LazyMyComponent hydrate-never>

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions