bb9c411c92a6a3e011f2c2a1ab1be98a8f6a66d0
- Replace manual axios auth client with createApiClient in auth context - Decouple domain author logic from auth provider - Make AuthorModel extend AuthUser explicitly - Route login/register/logout exclusively through auth package - Derive application-level currentUser from auth identity - Fix provider hierarchy and hook usage across Blog and Profile - Align main.jsx to use base AuthProvider + AuthorProvider layering
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.2%
JavaScript
0.8%
Dockerfile
0.5%
HTML
0.5%