As a consequence of our Vite migration, we need to document the necessity for components to have .jsx file extensions
More Info
Traditionally, React components may be written in either .js or .jsx files. Our new build tool, Vite, requires that all files containing React components have the .jsx extension. This practice helps to prevent errors during Vite's static analysis of imported files.
Action Items
[ ] create new wiki page: "Vite Migration: Why Vite Components Require JSX Extensions"
[ ] make a note clearly stating that all new components must have .jsx extensions
[ ] (optional) copy the contents of the More Info section into the wiki page
[ ] summarize the relevant information provided by the links in Resources
[ ] copy the "Migrated Files" into a section in the wiki
[ ] add the links in this ticket's Resources into the wiki's Resources
[ ] comment the link to the newly published wiki page as a comment on this ticket
Dependency
Overview
As a consequence of our Vite migration, we need to document the necessity for components to have .jsx file extensions
More Info
Traditionally, React components may be written in either .js or .jsx files. Our new build tool, Vite, requires that all files containing React components have the .jsx extension. This practice helps to prevent errors during Vite's static analysis of imported files.
Action Items
.jsx
extensionsMore Info
section into the wiki pageResources/Instructions
Links for page's content
Migrated Files