Skip to main content
Module

x/udibo_react_app/mod.tsx>lazy

A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
Latest
function lazy
import { lazy } from "https://deno.land/x/udibo_react_app@0.19.0/mod.tsx";

A function used to lazily load a component. This function takes in a factory that returns Promise that resolves to a React component. The purpose of this function is to automatically add error boundaries to routes with an ErrorFallback or boundary export. This function is intended for internal use only, and is typically used in the generated _main.tsx file for a routes directory.

Parameters

factory: () => Promise<T>

Parameters

boundary: string
factory: () => Promise<T>