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

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

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

Visibility: public

Requested revision: c40873762863abe34e2e784c518d81cbc08f6662

Requested commit: c40873762863abe34e2e784c518d81cbc08f6662

Commit: c40873762863abe34e2e784c518d81cbc08f6662

Blob: 9a3d4a03b3caf10238e69c48f5901e70d4727ebf

Size: 283 bytes

[Immutable source](https://git.cafe/gitcafe/t3code/blob/c40873762863abe34e2e784c518d81cbc08f6662/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);

```
