-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Incorrect file extension #74175
Comments
Can u assign this to me ? |
Already 2 open PRs |
That’s fine then
…On Mon, 23 Dec 2024 at 12:34 AM, Maikel ***@***.***> wrote:
Can u assign this to me ?
Already 2 open PRs
—
Reply to this email directly, view it on GitHub
<#74175 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4P6I7ZJZJ5QFN2O3TWU4ID2G4EKXAVCNFSM6AAAAABT6PXGHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGU3DAMRWGU>
.
You are receiving this because you commented.Message ID: <vercel/next.
***@***.***>
|
I wonder if it's intentional to use For example, see 01-installation.mdx. next.js/docs/01-app/01-getting-started/01-installation.mdx Lines 98 to 106 in 5969a09
This
By the way, I prefer |
Oh, you're right! That might confuse new developers as jsx in a .js file will result in IDE errors |
Before filing this issue, I saw 1 other place where the file extension said |
What is the documentation issue?
File extension is incorrect. JavaScript files with JSX code should have the extension of
.jsx
instead of.js
.Is there any context that might help us understand?
It's a table under the Language and Filename section on the Contribution Guide.
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/community/contribution-guide#language-and-filename
The text was updated successfully, but these errors were encountered: