0.2.4
All checks were successful
continuous-integration/drone/tag Build is passing
- Introduce unified View hierarchy (VIEW_TREE) with parent/child relationships - Add useViewRouter for navigate(), goBack(), openArticle(), and dynamic child navigation - Replace legacy boolean-based view flags with single ui.view state - Implement dynamic component rendering via VIEW_COMPONENTS map - Add HomeView wrapper and integrate dynamic navigation props - Update ArticleView to use open_editor and new ArticleViewProps - Adjust ArticleEditor props type to accept null article - Normalize navigation prop naming (open_* passed as onBack/onEdit via router) - Enforce validation: prevent article updates without logged-in user - Remove old conditional rendering/switch blocks and simplify Blog.tsx - Version bump: 0.2.3 → 0.2.4
Material UI - React Router example in TypeScript
How to use
Download the example or clone the repo:
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-react-router-ts
cd material-ui-react-router-ts
Install it and run:
npm install
npm run dev
or:
The idea behind the example
This example demonstrates how you can use Material UI with React Router in TypeScript.
It includes @mui/material and its peer dependencies, including Emotion, the default style engine in Material UI.
What's next?
You now have a working example project. You can head back to the documentation and continue by browsing the templates section.
Description
Languages
TypeScript
98.4%
JavaScript
0.6%
Dockerfile
0.5%
HTML
0.5%