JSX extensions in create-react-app #9459
Unanswered
shreyasvimal
asked this question in
General
Replies: 1 comment
-
@shreyasvimal I'm not sure what you mean CRA has used JS extensions since the beginning The two extensions are interchangeable in CRA, and tend to be interchangeable in general https://stackoverflow.com/a/46169636 You can use jsx extensions if you want. |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
I recently created a new React app with create-react-app and noticed that there is no JSX extensions. I would like to know the reason why JSX was replaces with JS extensions.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions