Usage
Returns a stable element id string, unless an explicit id is provided. If no static id is passed, it starts from a React-generated id and switches to a random id after mount to reduce collision risk across separate trees.Override with static id
You can provide a static id to override the generated id:Definition
Parameters
Optional id that overrides generated ids when provided
Returns
A stable unique identifier string