renderSync
Performs a synchronous resolution and layout in one call. This is a blocking operation that completes the entire rendering pipeline.
Return
The resulting layout state.
Parameters
root
The root component to render.
constraints
The size constraints to use.