Overview
useCollectionsActions exposes every collection action as a standalone callable function. It is used internally by useCollections but can also be used directly when you need fine-grained control over collection operations without the navigation state.
For most use cases, prefer
useCollections — it combines these actions with navigation state. Use useCollectionsActions only when you need to perform actions independently of a navigation context.Usage Example
Returns
Navigation
Data Fetching
Fetch and set the user’s root collection in Redux state.
Fetch sub-collections for a given collection and update Redux state.
CRUD Operations
Create a new sub-collection under the specified parent collection. Navigates into the new collection after creation.
Delete a collection. Updates Redux state to navigate back to the parent.
Add an entity to a collection by creating a junction table entry.

