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

Possible error in the file name #21

Open
VochanecA opened this issue Feb 19, 2025 · 0 comments
Open

Possible error in the file name #21

VochanecA opened this issue Feb 19, 2025 · 0 comments

Comments

@VochanecA
Copy link

There's a potential typo in your file path: src/app/api/contex/ToasetContex.tsx. It likely should be src/app/api/context/ToasterContext.tsx with a corrected spelling of 'context' and 'Toaster'.

While simplicity is appealing, consider implementing a custom toast notification system using React's Context API and hooks. Yes, it requires more code to define the context, state, actions, and provider, but it offers complete control over the behavior, styling, and functionality of the toast notifications. The payoff is greater flexibility, allowing you to perfectly tailor the toast system to your application's unique design and interaction requirements. My 2 cents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant