Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac77aa commit 765805bCopy full SHA for 765805b
packages/react-server/src/ReactFlightServer.js
@@ -287,7 +287,7 @@ function attemptResolveElement(
287
}
288
if (__DEV__) {
289
jsxPropsParents.set(props, type);
290
- if (typeof props.children === 'object') {
+ if (typeof props.children === 'object' && props.children !== null) {
291
jsxChildrenParents.set(props.children, type);
292
293
0 commit comments