Actions
Client applications can invoke actions defined in the shell application.
Action Types
Using Default Actions
import { useAppClient } from '@akinon/app-client';
const MyComponent = () => {
const {
showToast,
showModalDialog,
showConfirmationDialog,
showErrorMessage,
showRichModal
} = useAppClient();
// Use these functions to invoke default actions
};showToast
showConfirmationDialog
showModalDialog
showErrorMessage
showRichModal
Using Custom Actions
URL Search Params
Accessing Modal Context
Best Practices
1. Error Handling
2. Loading States
3. Type Safety
Next Steps
Last updated
Was this helpful?

