Skip to content

Fix for 'missing else statement in ReactDOMServerFormatConfig.js' #22409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 25 commits into from
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e8cd6d6
Fix for 'missing `else` statement in ReactDOMServerFormatConfig.js'
amensum Sep 24, 2021
fa9938d
Fix for 'missing else statement in ReactDOMServerFormatConfig.js'
amensum Sep 24, 2021
810459c
The comment that explains what is really going on
amensum Sep 26, 2021
f1a3d78
[Fizz] Remove assignID mechanism (#22410)
sebmarkbage Sep 24, 2021
b50a9ed
Update Yarn build-for-devtools script to account for build/build2 cha…
Sep 24, 2021
b6663ce
DevTools: Lazily parse indexed map sections (#22415)
Sep 24, 2021
76abd5a
Scheduling Profiler marks should include thrown Errors (#22417)
Sep 24, 2021
b855436
Scheduling Profiler marks should include thrown Errors (#22419)
Sep 24, 2021
b97f5e8
root.hydrate -> root.isDehydrated (#22420)
acdlite Sep 24, 2021
d12fd32
Hydration errors should force a client render (#22416)
acdlite Sep 24, 2021
bfff0c5
Packages/React/src/ReactLazy ---> changing -1 to unintialized (#22421)
Biki-das Sep 24, 2021
3747bd4
add hasOwnProperty to devTools backend (#22437)
behnammodi Sep 27, 2021
d0a2ea2
[Fix] Errors should not "unsuspend" a transition (#22423)
acdlite Sep 27, 2021
aa128f6
Improve DEV errors if string coercion throws (Temporal.*, Symbol, etc…
justingrant Sep 27, 2021
08f9c17
DevTools encoding supports multibyte characters (e.g. "🟩") (#22424)
Sep 27, 2021
feff205
Rename onReadyToStream to onCompleteShell (#22443)
sebmarkbage Sep 27, 2021
e1f22dd
Make root.unmount() synchronous (#22444)
acdlite Sep 27, 2021
6577496
Add isArray in devTools utils (#22438)
behnammodi Sep 27, 2021
6cf87e7
prevent unused exec getCurrentValue after re-render (#22442)
behnammodi Sep 27, 2021
e51c10a
Remove usereducer eager bailout (#22445)
josephsavona Sep 27, 2021
88b9184
[Fizz/Flight] Remove reentrancy hack (#22446)
sebmarkbage Sep 28, 2021
fc77c7f
The comment that explains what is really going on
amensum Sep 28, 2021
d18f200
Improve DEV errors if string coercion throws (Temporal.*, Symbol, etc…
justingrant Sep 27, 2021
f1b1adf
Merge branch 'facebook:main' into main
amensum Sep 28, 2021
ab6d336
The comment that explains what is really going on
amensum Sep 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions packages/react-dom/src/server/ReactDOMServerFormatConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -919,12 +919,7 @@ function pushStartTextArea(
children.length <= 1,
'<textarea> can only have at most one child.',
);
// TODO: remove the coercion and the DEV check below because it will
// always be overwritten by the coercion several lines below it. #22309
if (__DEV__) {
checkHtmlStringCoercion(children[0]);
}
value = '' + children[0];
// Fall through. `'' + children` is same as `'' + children[0]` for 1-element arrays
}
if (__DEV__) {
checkHtmlStringCoercion(children);
Expand Down