Closed jellydn closed 3 months ago
You only need to name your files .js
because the JSX is automatically implied, since this is a React framework.
What benefit do you get from naming them .jsx
?
I guess you want to make it simple however you would want to support linter, e.g ESLint rule https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-filename-extension.md
Or support Biome
Works fine with .jsx
filename
That’s fair. I should be able to add optional support for using that as an extension, at least for those who want it.
That’s fair. I should be able to add optional support for using that as an extension, at least for those who want it.
Great. Thanks 🙏
Why
That's a common pattern that people would use
.jsx
for React components.What
Support JSX filename
Possible solution
Instead of load
.js
on firebolt lib, we could search for.js*
.Reproduce: