You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tsconnect/src
Mihai Parparita ab159f748b cmd/tsconnect: switch UI to Preact
Reduces the amount of boilerplate to render the UI and makes it easier to
respond to state changes (e.g. machine getting authorized, netmap changing,
etc.)

Preact adds ~13K to our bundle size (5K after Brotli) thus is a neglibible
size contribution. We mitigate the delay in rendering the UI by having a static
placeholder in the HTML.

Required bumping the esbuild version to pick up evanw/esbuild#2349, which
makes it easier to support Preact's JSX code generation.

Fixes #5137
Fixes #5273

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
app.tsx cmd/tsconnect: switch UI to Preact 2 years ago
esbuild.d.ts cmd/tsconnect: switch to TypeScript 2 years ago
go-panic-display.tsx cmd/tsconnect: switch UI to Preact 2 years ago
header.tsx cmd/tsconnect: switch UI to Preact 2 years ago
index.css cmd/tsconnect: switch UI to Preact 2 years ago
index.ts cmd/tsconnect: switch UI to Preact 2 years ago
js-state-store.ts cmd/tsconnect: switch to TypeScript 2 years ago
ssh.tsx cmd/tsconnect: switch UI to Preact 2 years ago
url-display.tsx cmd/tsconnect: switch UI to Preact 2 years ago
wasm_js.ts cmd/tsconnect: make PeerAPI work 2 years ago