This hook works well when changing between tables and when deleting a table but not when creating a new table.
Example:
const cursor = useCursor();
When I create a new table cursor.activeTableId is null and the property is only set moments later.
An...