You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have wondered why react boilerplate uses .js instead of the commonly found .jsx files. I have eventually found this: facebook/create-react-app#87 (comment)
I guess that this is the reason for the decision. Since I find this quite interesting I suggest to put this somewhere in the documentation.
The text was updated successfully, but these errors were encountered:
Closing because this isn't an issue with the boilerplate and no template was filled out.
The boilerplate actually supports using the .jsx extension if you wanted to use it! And yeah, Dan's comment is the reason why most react projects don't need / use jsx anymore
I have wondered why react boilerplate uses .js instead of the commonly found .jsx files. I have eventually found this:
facebook/create-react-app#87 (comment)
I guess that this is the reason for the decision. Since I find this quite interesting I suggest to put this somewhere in the documentation.
The text was updated successfully, but these errors were encountered: