Skip to content

Commit

Permalink
docs: Fix typo in react integration README (#8243)
Browse files Browse the repository at this point in the history
  • Loading branch information
DawnMD committed Aug 27, 2023
1 parent 3674584 commit cc740fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ import ReactComponent from './ReactComponent';
</ReactComponent>
```

If you are using a library that _expects_ more than one child element element to be passed, for example so that it can slot certain elements in different places, you might find this to be a blocker.
If you are using a library that _expects_ more than one child element to be passed, for example so that it can slot certain elements in different places, you might find this to be a blocker.

You can set the experimental flag `experimentalReactChildren` to tell Astro to always pass children to React as React vnodes. There is some runtime cost to this, but it can help with compatibility.

Expand Down

0 comments on commit cc740fb

Please sign in to comment.