Overview
useUpdateEntity returns a function that updates an entity’s content fields. After a successful update, the entity state inside the nearest EntityProvider is automatically synced with the new data.
Usage Example
Parameters
The ID of the entity to update.
New title. Pass
null to clear.New content body. Pass
null to clear.Replacement attachments array.
Replacement keywords array.
New geographic location.
Replacement metadata object.
Updated mentions array.
Returns
The updated entity. See Entity data model.

