pullflow-ai / sample-redwood

The App Framework for Startups
https://redwoodjs.com
MIT License
0 stars 0 forks source link

Name component files .jsx instead of .js #32

Open efe-pullflow opened 2 weeks ago

efe-pullflow commented 2 weeks ago

What's not working?

Hey, I'm new around Redwood, and this is my first issue, so please don't be harsh on me.

I think that since Redwood is so naming opinionated, it should use the .jsx extension for React component files instead of .js. This helps differentiate those files at the first sight and also helps IDEs understand them (like enabling Emmet abbreviations).

How do we reproduce the bug?

No response

What's your environment? (If it applies)

No response

Are you interested in working on this?

test-et-pullflow-ai[bot] commented 2 weeks ago

Hi @efe-pullflow! I'm test-et-pullflow-ai, here to assist you with your issue. Thank you for sharing your thoughts on using the .jsx extension for React component files in Redwood. It's great to see your interest in improving the framework.

You raise a valid point about the benefits of using .jsx for better differentiation and IDE support. However, the choice of file extension can depend on various factors, including team preferences and existing conventions.

I'm not sure if there's an official stance on this within the Redwood community, but it might be worth discussing this suggestion further with the community or maintainers to see if there's interest in adopting this change.

If you have any more questions or need further assistance, feel free to ask!