[Project] Allow sending toast notifications outside of React code
Open
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
Assessment
This issue has not been assessed yet.