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

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

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

Visibility: public

Requested revision: 0678e4e23d8675ef88f9ac08e1ae90cfe7d6ef2e

Requested commit: 0678e4e23d8675ef88f9ac08e1ae90cfe7d6ef2e

Commit: 0678e4e23d8675ef88f9ac08e1ae90cfe7d6ef2e

Blob: 9a3d4a03b3caf10238e69c48f5901e70d4727ebf

Size: 283 bytes

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

```
