Requires the
entities bundle. A project without the entities bundle returns 403 database/tables-not-available. See Bundles.Overview
useFetchEntity returns a function that fetches a single entity by its Sublay entity ID. Use this for on-demand fetches outside of EntityProvider.
An entity a moderator removed resolves in full for its author and as a placeholder for everyone else.
Usage Example
Parameters
Optional. Populate related fields, as a single value or an array. Accepted values:
"user", "space", "topComments", "saved", "files", "grants".With
"topComments" included: how many top comments per entity. Server default 1, maximum 5. Not sent when include doesn’t contain "topComments".With
"topComments" included: the reaction whose raw count ranks the top comments. Server default "upvote". Not sent when include doesn’t contain "topComments".Returns
The fetched entity. When
spaceReputation is requested, the embedded author carries an added spaceReputation number. See Entity data model and Reputation.
