Skip to main content

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.


Any solution from the SDK to handle this specific case? Or should I implement some internal logic to wait for this property to be defined?



Be the first to reply!

Reply