Skip to content

docs: add note about @types/react for default JSX mode#3040

Merged
bartlomieju merged 1 commit intomainfrom
docs/jsx-types-note-2463
Apr 9, 2026
Merged

docs: add note about @types/react for default JSX mode#3040
bartlomieju merged 1 commit intomainfrom
docs/jsx-types-note-2463

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

Summary

  • Adds a note to the default JSX configuration section explaining that @types/react is needed for type checking
  • Points users toward the recommended automatic runtime as the preferred approach

Closes #2463

Test plan

  • Verify the note renders correctly on the JSX reference page

🤖 Generated with Claude Code

The default "react" JSX configuration requires @types/react for type
checking. Added a note explaining this and pointing to the recommended
automatic runtime instead.

Closes #2463

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bartlomieju bartlomieju merged commit e2e1761 into main Apr 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback: /runtime/reference/jsx/ - Needs Improvement

1 participant