API REFERENCE

Render App

renderApp() is a function that renders the application on the client side.

Usage

index.js
import { renderApp } from 'rasengan/client'; import App from './main'; import AppRouter from '@/app/app.router'; renderApp(App, AppRouter, { reactStrictMode: true });

Options

OptionTypeDescriptionDefault
AppReact.FunctionComponent<AppProps>The root component of the application-
reactStrictModebooleanEnable React Strict Modetrue
defineStaticPaths
[name].layout.tsx