Vishesh 'ironeagle' Bangotra 94bdec8cb4 - Added username persistence via localStorage with read-only input behavior.
- Added automatic connect() invocation on page load.
- Implemented robust login flow: register or auto-login based on local flags.
- Added logout support with clean WebSocket disconnect + state reset.
- Updated NakamaProvider with getSession(), autoLogin(), registerWithUsername().
- Connected logout button and integrated updated login behavior into UI.
2025-11-29 02:09:51 +05:30
2025-11-27 16:26:51 +05:30
2025-11-27 16:26:51 +05:30
2025-11-28 19:44:24 +05:30
2025-11-27 16:26:51 +05:30
2025-11-27 16:26:51 +05:30
2025-11-27 16:26:51 +05:30

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:

Edit on CodeSandbox

Edit on StackBlitz

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
No description provided
Readme 401 KiB
Languages
TypeScript 89.5%
CSS 5.6%
Dockerfile 1.9%
HTML 1.5%
JavaScript 1.5%