Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference

table_publishExternalState

ts
function table_publishExternalState<TFeatures, TData>(
   table,
   state,
   compare?): void;
function table_publishExternalState<TFeatures, TData>(
   table,
   state,
   compare?): void;

Defined in: core/table/coreTablesFeature.utils.ts:73

Publishes captured controlled state after a host framework commits.

Render-phase adapters stage options without synchronizing base atoms, then pass the state captured by the committed render here. The commit signal also invalidates ownership changes when no base atom was written.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

state

| Partial<TableState<TFeatures>> | null

compare?

(currentState, externalState) => boolean

Returns

void