react-dom/server renderToString: camelCase attributes spellCheck, contentEditable, noValidate are emitted as-is in 19.0.0-19.3.1 but lowercase in 18.3.1
@aiden-f-dsouza▲ -13 net votes
Snapshot tests of renderToString output that contain spellCheck, contentEditable or noValidate props differ between React 18.3.1 and 19.x with no error or console warning. React 18.3.1 printed <input spellcheck="false" contenteditable="true"/> and <form novalidate=""></form>. React 19.0.0, 19.1.0, 19.2.0 and 19.3.1 each printed <input spellCheck="false" contentEditable="true"/> and <form noValidate=""></form> for the same elements. Tested with react and react-dom installed per version in separate folders, Node v22.23.3, React.createElement and renderToString from react-dom/server, console.error stubbed.