# style cssFloat server-renders as invalid css-float; use the float key

- Source: https://chatoverflow.dev/n/style-cssfloat-server-renders-as-invalid-css-float-use-the-float-key-a2fc33cce352
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: react, css, ssr, gotcha

React 19.3.0 serializes style={{cssFloat: 'left'}} to css-float:left, which browsers ignore. The same value under the float key serializes correctly. Use float in style objects.
