Commit Graph
44 Commits
Author SHA1 Message Date
Luca Casonato 3bce2fb8d3 feat: deployctl is not needed anymore (#45)
Deno Deploy now supports Deno.listen and Deno.serveHttp.
2021-07-30 14:09:04 +02:00
Luca Casonato 8d2935aef3 chore: update deps (#42)
This commit updates dependencies. Preact is now pulled from esm.sh.
2021-07-20 12:52:25 +02:00
Jed Schmidt 26ed972f1a Use correct CLI installation command (#39) 2021-06-24 10:19:30 +02:00
Luca Casonato 940f34d811 feat: add custom render function support (#30) 2021-06-16 19:36:12 +02:00
Satya Rohith 1346105a79 docs: typo on data-fetching.md page (#35) 2021-06-13 00:02:40 +02:00
Luca Casonato 65d164d073 feat: add config option to disable runtime js (#36)
The config option can be toggled per page:

```js
export const config: PageConfig = { runtimeJS: false };
```
2021-06-13 00:01:59 +02:00
Luca Casonato ae4603c731 feat: transform for latest-2 browser releases (#34) 2021-06-12 20:56:01 +02:00
Luca Casonato 18feea9c45 feat: elide __FRSH_PROPS for no data or params (#33)
Minor size improvement.
2021-06-12 00:23:59 +02:00
Luca Casonato 3ad4a84b51 docs: add info on data fetching 2021-06-11 18:29:40 +02:00
Luca Casonato 56baffa96d feat: support suspending during SSR and useData (#27)
This commit adds support for suspending during JIT SSR rendering.
Additionally this PR adds `useData` support. This hook is triggered
during JIT render and can be used to fetch data. This data is sent to
the client and returned there from calls to useData too.
2021-06-11 13:59:55 +02:00
Leo K ae1e311eb8 feat(server): allow single method API routes (#24) 2021-06-10 23:26:16 +02:00
Luca Casonato 572b8123c4 refactor: centralize server into ServerContext (#26)
This commit centralizes all server related logic into a central
ServerContext class.
2021-06-10 20:46:10 +02:00
Satya Rohith 78c144641c docs: add -n fresh to install command (#22)
The old command resulted in a binary named `main`. The changes in this commit specify the name to avoid that.
2021-06-05 19:47:35 +02:00
Luca Casonato 9eea430c1e fix: various issues arising from oak removal (#23) 2021-06-05 19:44:15 +02:00
Leo K a48da64dc3 feat: change to denosaurs router (#20) 2021-06-03 11:11:04 +02:00
Luca Casonato a0bb5c05ee docs: update warning at top of readme 2021-06-02 13:36:25 +02:00
Luca Casonato 91b4d239ad docs: add getting started + basic info (#16) 2021-06-02 13:28:44 +02:00
Luca Casonato 41307a5ac8 perf: add loading optimization with modulepreload (#15)
This commit aims to speed up loading of chunked modules using
the link rel=modulepreload directive.
2021-06-02 12:55:30 +02:00
Luca Casonato 26189cfdf3 tests: add basic integration tests (#13) 2021-06-02 01:16:31 +02:00
Luca Casonato cfe2584669 chore: add ci (#12) 2021-06-02 00:23:33 +02:00
Luca Casonato ff69a0abdf feat: add api routes (#11)
This commit adds API routes. These routes are located in the
./pages/api/ directory. Each file in there will have it's default
export invoked for HTTP calls to the corresponding route.
2021-06-02 00:15:00 +02:00
Luca Casonato 31dbd99bea chore: improve bundling + refactor router (#10)
This commit changes how bundling works, by bundling all routes at once.
Static JS assets are now cached immutably.

Additionally this PR completly refactors how the router works to make it
more modular. This allows users to opt out of the default oak server,
and instead create their own.
2021-06-01 23:19:33 +02:00
Luca Casonato 8a58fe7ae0 fix 2021-05-08 18:52:36 +02:00
Luca Casonato 974845d174 invert jit and browser 2021-05-08 18:51:54 +02:00
Luca Casonato 661ec67be0 no more file:// 2021-05-08 18:51:14 +02:00
Luca Casonato 502c14e8f5 redeploy 2021-05-08 18:49:02 +02:00
Luca Casonato 771643d1c4 update example 2021-05-08 18:47:54 +02:00
Luca Casonato f42fff1a31 new example 2021-05-08 12:57:33 +02:00
Luca Casonato cfb99ef326 readme 2021-05-08 12:51:44 +02:00
Luca Casonato 1f756a6d33 make cli better 2021-05-08 03:49:31 +02:00
Luca Casonato 9145711e2e remove need for export function self 2021-05-08 03:12:56 +02:00
Luca Casonato 303f4fd140 update esbuild_deno_loader 2021-05-08 03:07:15 +02:00
Luca Casonato 423f349f47 even more other esbuild 2021-05-08 02:59:23 +02:00
Luca Casonato c807d07e25 more other esbuild 2021-05-08 02:50:04 +02:00
Luca Casonato 26be0bedb0 more other esbuild 2021-05-08 02:48:09 +02:00
Luca Casonato 96e69d2458 monotonic performance.now 2021-05-08 02:35:30 +02:00
Luca Casonato 0e82dcb8b9 logs 2021-05-08 02:31:21 +02:00
Luca Casonato 0dfb6f9040 perf 2021-05-08 02:29:55 +02:00
Luca Casonato 207296c023 polyfill globalThis.performance 2021-05-08 02:22:53 +02:00
Luca Casonato bd6cb85903 more other esbuild 2021-05-08 02:18:55 +02:00
Luca Casonato 2e4b4db421 error 2021-05-08 02:09:49 +02:00
Luca Casonato 4c3dfe6273 err 2021-05-08 02:09:35 +02:00
Luca Casonato 6ecdf2ed73 init 2021-05-08 02:07:24 +02:00
Luca Casonato f05c2e3a68 Initial commit 2021-05-07 16:42:27 +02:00