rememberTable

Creates a Table from options and bridges its state into the composition so the table is reactive.

The Table instance itself is created once and remembered for the lifetime of the enclosing composition — it is never replaced. The table's state is held in a Compose mutableStateOf; reading the table's state inside the composition subscribes the caller to recomposition whenever that state changes (for example via sorting, filtering, pagination, or selection).

Caller-controlled state (passing options.state to override fields managed by the engine) is not currently supported by this Compose adapter; the internally-managed state is always used. Reacting to state changes via TableOptions.onStateChange is fully supported.