Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Wrong File-Extensions - jsx #23

Description

@xstable

Is there a reason, why you have choose the jsx File-Extension, for all JS-Files in your Project?
Even the material-kit, which you've forked from don't use jsx-filetype at all.

I suggest to better use JSX only for files, which really have JSX-Syntax inside. Else it make no sense... but best choise is to not use jsx-extension at all and stay with the general .js-fileextension.

See here, facebooks recommendadion: react/create-react-app#87 (comment)

If you wan't to change this fast and easy, you could do it with this small bash-script:

for x in *.jsx; do mv "$x" "${x%.jx}.js"; done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions