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

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

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

Visibility: public

Requested revision: 9c49228f5425f644cff9b41ae88ca564d40d79fa

Requested commit: 9c49228f5425f644cff9b41ae88ca564d40d79fa

Commit: 9c49228f5425f644cff9b41ae88ca564d40d79fa

Blob: 9a3d4a03b3caf10238e69c48f5901e70d4727ebf

Size: 283 bytes

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

```
