Packages

Helpers for rendering components from front-end frameworks in Phoenix

Current section

Files

Jump to
phx_frontend js dist hooks createJsAppsHook.d.ts
Raw

js/dist/hooks/createJsAppsHook.d.ts

import { Adapter } from '../adapter.ts';
export declare const createJsAppsHook: ({ apps, }: {
apps: Record<string, Adapter<any>>;
}) => {
mounted(): void;
updated(): void;
destroyed(): void;
};