aws / aws/graph-explorer

[Project] Allow sending toast notifications outside of React code

Open
#359 1 comment 0 reactions 0 assignees View on GitHub
infrastructure usability
Dominant language
TypeScript
Stars
481
Forks
108
Avg merge
6d 8h
Merged PRs (30d)
5

Description

We should move error notification sending to the global context. TanStack Query has a method of doing that through the query client. But this is configured outside of React land. This means we must allow enqueuing a notification without needing a React Hook to do it.

- [TanStack Query article describing error handling](https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose#a-bad-api)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.