import { hydrate } from "https://deno.land/x/udibo_react_app@0.8.0/mod.tsx";
Used to hydrate the app in the browser. Hydration isn't required if you want to do server side rendering only. This function will turn the application into an SPA.
If you are using the default configuration, this will load the route generated from your application's routes.
import { hydrate } from "x/udibo_react_app/app.tsx";
import route from "./routes/_main.tsx";
hydrate({ route });
You can optionally add a Provider argument to add your own providers around the application.
Parameters
unnamed 0: HydrateOptions<AppContext>