StartClient

StartClient is a component that renders the generated app inside the client error boundary.


Import

import { StartClient } from "@solidjs/start/client";

Type

function StartClient(): JSX.Element;

Parameters

StartClient takes no arguments.


Return value

  • Type: JSX.Element

Returns the client app element.


Behavior

  • Renders the #start/app module.
  • Wraps the app in the shared ErrorBoundary.

Examples

Basic usage

import { mount, StartClient } from "@solidjs/start/client";
mount(() => <StartClient />, document.getElementById("app")!);

Last updated: 5/6/26, 4:10 AMEdit this pageReport an issue with this page