primate icon indicating copy to clipboard operation
primate copied to clipboard

Polymorphic development platform

Results 64 primate issues
Sort by recently updated
recently updated
newest added

Use cases: static websites, partially static websites. Possible approaches: * some (or all) routes are SSR'd at startup into static files, using some pseudo-request object, because they only contain static...

* implicit, via returning the component (for typing) and mocking it into `view(ComponentName, { props })` during runtime * explicit, using a contract

add the ability to create a transaction from the app object with (in the `init` hook) ```js app.set("store", "transact", async callback => { const { id, transaction } = await...

e.g. `app.get("store:transact")` Add `app.set(module: string, key: string, value: unknown)`. `module` must exist in the list of loaded modules. Allow modules to add data/functions to an app

General purpose validation module. ```js import schema from "@primate/pema"; import array from "@primate/pema/array"; import file from "@primate/pema/file"; import number from "@primate/pema/number"; import string from "@primate/pema/string"; // options: // strict: do...

modules

Several drivers implement live queries, which will be needed by `@primate/live` to manage reactive server values. * SQLite: https://github.com/sqlitecloud/sqlitecloud-js * PostGreSQL: https://github.com/electric-sql/pglite * SurrealDB: https://github.com/orgs/surrealdb/discussions/1208

Different providers * Repopack (default) * Cloudflare workers * Cloudflare pages * Amazon * Google * Netlify * Vercel * Deno deploy * ?

modules