Read the current cell from the closest CellIdContext, the id is provided
by <Paper /> around renderElement / renderLink. Use this inside a
render callback (or a component mounted from one) to access the full cell
record.
Throws when used outside of a Paper render context, or when the id no longer resolves to a cell in the store (e.g. deleted mid-render).
resolved cell record shape (defaults to Computed
the current resolved cell record
Read a selected slice from the current cell (context-scoped). Re-renders
only when isEqual(prev, next) returns false.
Throws if no cell resolves, never returns undefined.
resolved cell record shape (defaults to Computed
selector return type (defaults to Cell)
selected value
Subscribe to a specific cell by id. Works anywhere, does not require
CellIdContext. Throws when the id does not resolve to a cell.
resolved cell record shape (defaults to Computed
cell id to track
the resolved cell record
Subscribe to a specific cell by id and derive a value from it. Works
anywhere, does not require CellIdContext. Throws when the id does not
resolve to a cell.
resolved cell record shape (defaults to Computed
selector return type (defaults to Cell)
selected value
useCell()