diff options
author | 2023-08-27 20:05:29 +0530 | |
---|---|---|
committer | 2023-08-27 16:35:29 +0200 | |
commit | cc740fb103f97794b40346980c7f9de486393055 (patch) | |
tree | 76ac937a1fee5432d4c773b6b688e79b215b7473 /packages/integrations/react | |
parent | 3674584e02b161a698b429ceb66723918fdc56ac (diff) | |
download | astro-cc740fb103f97794b40346980c7f9de486393055.tar.gz astro-cc740fb103f97794b40346980c7f9de486393055.tar.zst astro-cc740fb103f97794b40346980c7f9de486393055.zip |
docs: Fix typo in react integration README (#8243)
Diffstat (limited to 'packages/integrations/react')
-rw-r--r-- | packages/integrations/react/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/react/README.md b/packages/integrations/react/README.md index 98eb252d3..00a574c54 100644 --- a/packages/integrations/react/README.md +++ b/packages/integrations/react/README.md @@ -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. |