Module react

@honua/react — idiomatic React bindings for the Honua SDK: a provider, data hooks, and declarative map components over the framework-neutral @honua/sdk-js core.

The core SDK stays React-free; this entry point is the only place React is imported. It is SSR-safe (no window/document access at import time) and StrictMode-safe under React 18 and 19.

import { HonuaClient } from "@honua/sdk-js/honua";
import { HonuaProvider, useDataset, useQuery } from "@honua/react";

const client = new HonuaClient({ baseUrl: "https://honua.example.com" });

function App() {
return (
<HonuaProvider client={client}>
<Incidents />
</HonuaProvider>
);
}

Index

Classes

Interfaces

Type Aliases

Functions