Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/website/docs/api/02-css/01-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

:::warning

On web the style compiler and static types do not yet enforce constraints on the properties and values that can be used (e.g., various short-form properties are disallowed). This is a work in progress that depends on improvements to StyleX.
On web the style compiler and static types do not yet enforce constraints on the properties and values that can be used (e.g., various short-form properties are disallowed). This is a work in progress.

:::

Expand Down
12 changes: 12 additions & 0 deletions packages/website/docs/learn/01-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,15 @@ For native support, please make sure the following peer dependencies are install
```
npm install react react-native
```

## How to use AI to code with React Strict DOM

When using AI assistants like Claude or ChatGPT to help write React Strict DOM code, provide our **<a href="/react-strict-dom/llms.txt" target="_blank">LLM guide</a>** as context for more accurate results.

**How to use:**

1. Copy the contents of the <a href="/eact-strict-dom/llms.txt" target="_blank">llm.txt</a> file.
2. Provide it as context in your conversation with the AI assistant.
3. Then ask your coding questions.

This guide contains condensed, AI-optimized documentation covering React Strict DOM's syntax, styling system, common patterns, and key differences from React DOM. Providing this context helps AI assistants generate code using the React Strict DOM APIs and avoids common mistakes.
2 changes: 1 addition & 1 deletion packages/website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const config = {
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/react-strict-dom/',
trailingSlash: true,
trailingSlash: undefined,
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
// GitHub pages deployment config.
Expand Down
Loading