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
I believe this would be more of an RFC, rather than an immediate BUG, since requiring .tsx | .jsx | .vue is imperative for resolving between different component types.
Typescript has said they are intent on not rewriting imports because they want all typescript code to be copy-pasteable as javascript..
Deno does not have this requirement, and in fact has the same imports as Astro does:
Thanks for the report! We believe that this has been fixed in astro v0.21, going out today. Let us know if you can still reproduce the issue after updating to v0.21 and we'll be happy to take a look.
What package manager are you using?
yarn
What operating system are you using?
Windows
Describe the Bug
Partial hydration requires import path with an extension, otherwise it won't work.
This violates the typescript rule TS2691:
An import path cannot end with a '.tsx' extension
Steps to Reproduce
import Component from './component';
<MyComponent:load />
Link to Minimal Reproducible Example (Optional)
No response
The text was updated successfully, but these errors were encountered: