[Tabs] Reduce complexity for using a basic tabs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Hi All,
I was looking at the Tabs demo here - in an attempt to rapidly create a simple ReactJS web page with a tabbed navigation structure.
https://codesandbox.io/s/cbn97?file=/demo.js
which is hyperlinked from
https://material-ui.com/components/tabs/
I found it incredibly hard to comprehend what is the bare minimum code that I need to write to get a simple Tab system up and running.
Comparing with Bootstrap
Look at the Bootstrap tabs here as an comparative example:
https://react-bootstrap.github.io/components/tabs/
Just 11 lines of Bootstrap Tab as opposed to 50 lines of Material UI tab
You can have complex demos. But, the starter demo should be as simple as possible.
Thank you,
Sau
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 with the Tabs documentation page and its linked CodeSandbox demo, then compare the starter example with the Bootstrap tabs example linked in the issue. Done means the introductory Material UI example uses substantially less code while still demonstrating a working basic tabbed navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100