# apps/web/src/bootstrap.ts · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/blob/31f9d832f4f019ff565beafbd6bb18451fa7039d/apps/web/src/bootstrap.ts)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: 31f9d832f4f019ff565beafbd6bb18451fa7039d

Requested commit: 31f9d832f4f019ff565beafbd6bb18451fa7039d

Commit: 31f9d832f4f019ff565beafbd6bb18451fa7039d

Blob: 9a3d4a03b3caf10238e69c48f5901e70d4727ebf

Size: 283 bytes

[Immutable source](https://git.cafe/gitcafe/t3code/blob/31f9d832f4f019ff565beafbd6bb18451fa7039d/apps/web/src/bootstrap.ts?format=markdown)

```
import { showBootError } from "./lib/bootError";

// Bundled dev can move UI code into shared chunks. Load it only after this
// entry runs the React refresh preamble, and catch failures before React mounts.
void import("./main").then(({ startup }) => startup).catch(showBootError);

```
