dillon1000/react

Commit

[Float] treat `props.async` in Float consistent with the rest of react-dom (#26760)

Treat async (boolean prop) consistently with Float. Previously float
checked if `props.async === true` (or not true) but the rest of
react-dom considers anything truthy that isn't a function or symbol as
`true`. This PR normalizes the Float behavior.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…