Commit f62cf8c
authored
[Float] treat
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.props.async in Float consistent with the rest of react-dom (#26760)1 parent dfd3d5a commit f62cf8c
File tree
1 file changed
+17
-7
lines changed- packages/react-dom-bindings/src/client
1 file changed
+17
-7
lines changedLines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2417 | 2417 | | |
2418 | 2418 | | |
2419 | 2419 | | |
2420 | | - | |
2421 | | - | |
2422 | | - | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
2423 | 2429 | | |
2424 | 2430 | | |
2425 | 2431 | | |
| |||
3065 | 3071 | | |
3066 | 3072 | | |
3067 | 3073 | | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
3068 | 3078 | | |
3069 | | - | |
| 3079 | + | |
3070 | 3080 | | |
3071 | 3081 | | |
3072 | | - | |
3073 | | - | |
| 3082 | + | |
| 3083 | + | |
3074 | 3084 | | |
3075 | 3085 | | |
3076 | 3086 | | |
3077 | | - | |
| 3087 | + | |
3078 | 3088 | | |
3079 | 3089 | | |
3080 | 3090 | | |
| |||
0 commit comments