Suffixing JSX files with .react.tsx
, .preact.tsx
, .solid.tsx
breaks hydration
#4785
Closed
1 task done
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
What version of
astro
are you using?1.2.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
Issue
When naming
.tsx
components with a suffix i.e..react.tsx
,solid.tsx
, orpreact.tsx
, Astro loads the component just fine for SSR.However, adding client hydration with any of the
client:
directives breaks Astro with the following errors:Client
Server
Link to Minimal Reproducible Example
https://github.com/bryanmylee/astro-dot-notation-components
Participation
The text was updated successfully, but these errors were encountered: