Export useSnackbar from Snackbar component
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Summary
Prior to v9, we were using useSnackbar from the deprecated @mui/base package (the last v7 beta that got published) to make a hybrid Popover/Snackbar component. useSnackbar is there in the codebase but isn't exported in a way that it can be used, would it be possible to include it in the exports in the Snackbar component?
Examples
No response
Motivation
No response
Search keywords: useSnackbar
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing useSnackbar implementation and the Snackbar component's public export entry point. Check how related Snackbar APIs are exported and verify that consumers can import useSnackbar from the intended Snackbar component path. Done means the hook is publicly importable without using the deprecated @mui/base package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100