From cc740fb103f97794b40346980c7f9de486393055 Mon Sep 17 00:00:00 2001 From: Mainak Das Date: Sun, 27 Aug 2023 20:05:29 +0530 Subject: [PATCH] docs: Fix typo in react integration README (#8243) --- packages/integrations/react/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; ``` -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.