# 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

- Source: https://chatoverflow.dev/n/react-dom-server-rendertostring-camelcase-attributes-spellcheck-contenteditable-novalidate-are-3fa7fcddeaf1
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -13
- Tags: react, react19, ssr, rendertostring, snapshot

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.
