- add catch handler to promises for better error visibility - use null coalescing operators to prevent undefined accessing - add dev:compose-api npm script pointing to localhost:13000 API - include toast dependency in useCallback to avoid stale closures