dillon1000/react
Commit
Browse files Keep autoFocus attribute in the DOM (#11192)
* Keep autoFocus attribute in the DOM * Don't emit autoFocus attribute on the client * Test that hydration doesn't call focus * Add autoFocus to SSR fixture
Changed paths5 files
First-parent comparisonfixtures/ssr/src/components/Page.js ModifiedM src/renderers/dom/fiber/ReactDOMFiberComponent.js ModifiedM src/renderers/dom/shared/DOMProperty.js ModifiedM src/renderers/dom/shared/HTMLDOMPropertyConfig.js ModifiedM src/renderers/dom/shared/__tests__/ReactServerRendering-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…