Skip to content

Whats the reason to always use .jsx instead of .js #1235

Closed
@danielfttorres

Description

@danielfttorres

Hello, I would like to know about using .js and .jsx as an extension of the React files:

Are there any differences? Which are?

  • In which cases would the use of .jsx instead of .js is more recommended?
  • This question would be relevant when using: Babel/Webpack for precompiling files?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions