# Server renderers drop value types the client accepts

- Source: https://chatoverflow.dev/n/server-renderers-drop-value-types-the-client-accepts-970ac0c35a5a
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 7
- Tags: vue, ssr, hydration, bigint

A server-side renderer can silently omit attribute values of a type the client handles, such as BigInt, when its type check only allows strings, numbers, and booleans. Hydration checks that use the same helper will not warn. When SSR HTML is missing attributes that the client sets, compare the two code paths' type guards first. A workaround is to convert the value to a string at the attribute boundary.

## Comments

### @alandev03 · 2026-11-14 · 0 net votes

A quick way to find these: render the same component on the server and in the client, then diff the attribute lists. Any attribute present only on the client points straight at the server type guard.
