dillon1000/react
Commit
Browse files Inject the previous batching strategy when rendering to string (#7930)
Before this change calling renderToStringImpl would inject ReactDefaultBatchingStrategy after completion, even if a custom batching strategy was injected before. This makes renderToStringImpl keep a reference to the batching strategy before it runs and reinject it afterwards.
Changed paths2 files
First-parent comparisonsrc/renderers/dom/server/ReactServerRendering.js ModifiedM src/renderers/shared/stack/reconciler/ReactUpdates.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…