Open favna opened 3 months ago
I agree. We shouldn't recommend this library in our documentation. I've opened PR #42739 to remove it.
Originally, we added Material UI's Snackbar usage with notistack to show vertically stacked Snackbars. I was working on implementing this feature directly in Material UI (see PR #31991), but the PR was halted for various reasons.
I added this issue to the Material UI with the Base UI milestone, as we should ideally rely on Base UI's Toast component, which will eventually be released. I expect us to work on this during Q4.
Related page
https://mui.com/material-ui/react-snackbar/
Kind of issue
Other
Issue description
The current documentation page for react-snackbar mentions notistack for third-party integrations. However, the author of the notistack seems to have gone MIA with an ever-piling stack of unaddressed issues and PRs. I also created an issue querying if the project is still maintained, which thus far has gone unanswered: https://github.com/iamhosseindhv/notistack/issues/602.
It would be best for MUI to stop directing people to use an unmaintained library as that is asking for trouble sooner or later.
Context
Notistack should be removed from third-party integrations on the relevant page, and the whole block should be removed as it is the last one remaining. Possibly the documentation could link to contemporary projects such as react-toastify. A project like react-toastify does not use MUI, but it is a good alternative to achieve stateful imperative snackbar API.
Search keywords: notistack, snackbar