Skip to main content

@ydcjeff/ezedge@0.0.10

Take web app easy to the edge.

Works with
This package works with Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
94%
Published
3 weeks ago
indexstart_client
function start_client
deno add @ydcjeff/ezedge
import { start_client } from "@ydcjeff/ezedge";
npx jsr add @ydcjeff/ezedge
import { start_client } from "@ydcjeff/ezedge";
yarn dlx jsr add @ydcjeff/ezedge
import { start_client } from "@ydcjeff/ezedge";
pnpm dlx jsr add @ydcjeff/ezedge
import { start_client } from "@ydcjeff/ezedge";
bunx jsr add @ydcjeff/ezedge
import { start_client } from "@ydcjeff/ezedge";

Start the client side script to run either hydration or app mounting. This function should be called in the entry file that will be run on the client side.

Parameters

import_meta_url: string
fn: (el: HTMLElement, hydratable: boolean, data: unknown | null) => void

Return Type

void