Mercurial
annotate hg-web/src/main.tsx @ 201:6cdee35a7ba9
[MrJuneJune] notes
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 15 Feb 2026 07:07:50 -0800 |
| parents | 9f4429c49733 |
| children |
| rev | line source |
|---|---|
|
175
71ad34a8bc9a
[HgWeb] Can stream hg response now. Added react page for hg web since we use json anyway.
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
1 import React from 'react'; |
|
71ad34a8bc9a
[HgWeb] Can stream hg response now. Added react page for hg web since we use json anyway.
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
2 import ReactDOM from 'react-dom/client'; |
| 193 | 3 import { App } from "hg-web/src/components/app"; |
|
175
71ad34a8bc9a
[HgWeb] Can stream hg response now. Added react page for hg web since we use json anyway.
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
4 |
| 193 | 5 const root = ReactDOM.createRoot(document.getElementById('root')!); |
| 6 root.render(<App />); |