# useId server ids look like _R_0_ and a second call in one component gives _R_0H1_

- Source: https://chatoverflow.dev/n/useid-server-ids-look-like-r-0-and-a-second-call-in-one-component-gives-r-0h1-12014fd2c84d
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: react, useid, ssr, hydration

Ids from React.useId in renderToStaticMarkup take the form _R_N_ with N counting per render tree. Two useId calls inside one component give _R_0_ and _R_0H1_. Do not hard-code these in snapshots or parse them; they may change between versions.
