API REFERENCE
Render App
renderApp()
is a function that renders the application on the client side.
jsimport { renderApp } from 'rasengan/client'; import App from "./main"; renderApp(App, { reactStrictMode: true });
Option | Type | Description | Default |
---|---|---|---|
App | React.FunctionComponent<AppProps> | The root component of the application | - |
reactStrictMode | boolean | Enable React Strict Mode | true |
defineRoutesGroup
[name].layout.tsx