3 ms·
.tsx would be a totally practical use for their files. Please explain why they needed to create their own style?
by hoofhearted 3y ago
.tsx would be a totally practical use for their files.
Please explain why they needed to create their own style?
- chromakode 3y agoAstro files contain markup and separators which are not valid Typescript. They also have a different execution model.
- wruza 3y agoI just read the part about astro components and reasoning about “code fence”. How exactly do you propose to use .tsx files for their case? Specifically, how would you extract a template but run the rest of the code? I have some ideas, but they aren’t more practical than just splitting it across that fence.