Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(examples): Catch errors thrown by Control event handlers #874

Open
iwoplaza opened this issue Feb 15, 2025 · 0 comments · Fixed by #901
Open

feat(examples): Catch errors thrown by Control event handlers #874

iwoplaza opened this issue Feb 15, 2025 · 0 comments · Fixed by #901
Assignees
Labels
good first issue Good for newcomers

Comments

@iwoplaza
Copy link
Collaborator

Subtasks

  • Move error snackbar message state into a Jotai atom. It's currently React state, created using useState, so it's hard to share between components in different parts of the app.
  • Catch the errors in each Control type's event handler, and update the shared state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants