-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issues with passing void elements to React with `experimentalReac…
…tChildren` flag set (#9849) * Create simple react element if element has no children * Fix for when element has text * add changeset * minor -> patch --------- Co-authored-by: Arsh <[email protected]> Co-authored-by: Nate Moore <[email protected]>
- Loading branch information
1 parent
9836ddd
commit 20ca315
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@astrojs/react": patch | ||
--- | ||
|
||
Fixes an issue where passing void elements (img, etc..) did not work with the `experimentalReactChildren` option enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters