Before making large PRs, you may want to discuss your proposals in either the Discord Contributing Channel, the GitHub Discussions page, or the GitHub Issues page.
This project uses PNPM and a TurboRepo with 2 projects.
- The library itself in
/packages/material-react-table
which also contains a storybook site for local development - The docs site in
/apps/material-react-table-docs
Create your own fork, clone, and then make a feature/bugfix branch off of v2
. Branch name does not really matter.
pnpm i
pnpm storybook
The Storybook site will open on port 6006
by default.
pnpm docs:dev
The Docs site will open on port 3000
by default.
Note: If you are contributing a new locale and are trying to test it in the docs site, you will need to run
pnpm lib:build-locales
and thenpnpm docs:dev
before it can be imported.
pnpm lib:build
Note: After building the library, if you are running the docs site locally, it will use the compiled output of the dist folder. This can be annoying if you are trying to test changes to the library in the docs site itself. Just delete the
/dist
folder and restart the docs app to test lib changes in the docs site.