mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Don't use the render callback with promises (#10050)
This covers up errors that are thrown in Fiber, because callback gets fired *and* an error is thrown. Created a follow up #10049 to reevaluate these semantics. # Conflicts: # scripts/fiber/tests-passing-except-dev.txt # scripts/fiber/tests-passing.txt
This commit is contained in:
committed by
GitHub
parent
cb32253d2f
commit
90b7facd52
@@ -86,12 +86,6 @@ src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js
|
||||
* renders a div with a single child surrounded by whitespace with client render on top of bad server markup
|
||||
* renders >,<, and & as single child with client render on top of bad server markup
|
||||
* renders >,<, and & as multiple children with client render on top of bad server markup
|
||||
* throws when rendering a string component with clean client render
|
||||
* throws when rendering a string component with client render on top of bad server markup
|
||||
* throws when rendering an undefined component with clean client render
|
||||
* throws when rendering an undefined component with client render on top of bad server markup
|
||||
* throws when rendering a number component with clean client render
|
||||
* throws when rendering a number component with client render on top of bad server markup
|
||||
* renders an input with a value and an onChange with client render on top of bad server markup
|
||||
* renders an input with a value and readOnly with client render on top of bad server markup
|
||||
* renders an input with a value and no onChange/readOnly with client render on top of bad server markup
|
||||
|
||||
@@ -1206,8 +1206,14 @@ src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js
|
||||
* renders >,<, and & as multiple children with clean client render
|
||||
* renders >,<, and & as multiple children with client render on top of good server markup
|
||||
* throws when rendering a string component with server string render
|
||||
* throws when rendering a string component with clean client render
|
||||
* throws when rendering a string component with client render on top of bad server markup
|
||||
* throws when rendering an undefined component with server string render
|
||||
* throws when rendering an undefined component with clean client render
|
||||
* throws when rendering an undefined component with client render on top of bad server markup
|
||||
* throws when rendering a number component with server string render
|
||||
* throws when rendering a number component with clean client render
|
||||
* throws when rendering a number component with client render on top of bad server markup
|
||||
* throws when rendering null with server string render
|
||||
* throws when rendering null with clean client render
|
||||
* throws when rendering null with client render on top of bad server markup
|
||||
|
||||
Reference in New Issue
Block a user