import { createStore, useQuery } from './core'
import type { Config, Result } from './types'
export async function load(id: string) {
const res = await fetch('/api/items/' + id)
if (!res.ok) throw new Error(res.statusText)
return res.json() as Promise<Result>
}
const store = createStore({
cache: true,
retries: 3,
onError: (e) => log.warn(e.message),
})
// TODO: ship it
DexxFM
Apps Devlog About Contact
Devlog

Notes from the workbench

Build notes, release write-ups, and the occasional critical fail.

All Blog DX Master Dexxicon Reader
What's next? - Working to v1.4.0
DX MasterOct 3, 2026 · 2 min read What's next? - Working to v1.4.0 Got some neat things in the works
DX Master v1.3.0
DX MasterSep 29, 2026 · 1 min read DX Master v1.3.0 Neat additions to the engine and functionality...but v1.4.0 though...
What's new v1.3.1 - Dexxicon Reader
Dexxicon ReaderSep 29, 2026 · 1 min read What's new v1.3.1 - Dexxicon Reader Don't get excited, just some bug fixes
Welcome!
BlogSep 28, 2026 · 1 min read Welcome! Stay for some tea...if I had some digital tea...
DexxFM © 2026 DexxFM
Apps DX MasterDexxicon Reader
Support & privacy DX MasterDexxicon Reader
Site Apps Devlog About Contact RSS