Commit Graph
15 Commits
Author SHA1 Message Date
Luca Casonato aa1e1bcdb4 feat: add support for middleware (#74) 2021-11-01 13:35:41 +01:00
Luca Casonato 4a6b57de89 docs: new website (#66) 2021-10-04 11:12:12 +02:00
Luca Casonato 7cf4ca07ed feat: streaming rendering with suspense (#59)
This commit introduces support for streaming server side rendering using
<Suspense>.
2021-09-26 01:21:02 +02:00
Luca Casonato 75afa6daca feat: add static file support (#58)
This commit adds support for serving static files. Static can be placed
into the `/static` directory (as a sibling of the `/pages` directory).
2021-09-25 13:37:46 +02:00
Luca Casonato a25ec7109c feat: support overriding page routes (#57) 2021-09-25 11:27:16 +02:00
Luca Casonato 0fbc9e816a BREAKING: disable runtime JS by default (#55) 2021-09-25 11:05:49 +02:00
Luca Casonato f5b3faf0d8 BREAKING: merge API routes and pages concept (#53)
This commit merges API routes and pages into a single concept. The
pages/api folder is now not special anymore.
2021-09-25 10:49:53 +02:00
Luca Casonato 8e83a032d9 feat: --config is not needed anymore (#48)
This commit removes the need for users to specify a --config file. TS
libs are now configured via `/// <reference>` directives, and the JSX
transform is specified via the `/** @jsx h */` pragma.

The future is configless!
2021-08-08 11:11:34 +02:00
Luca Casonato 0777c1c7ba feat: add context information to render function (#46) 2021-08-06 18:08:48 +02:00
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 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 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
Leo K a48da64dc3 feat: change to denosaurs router (#20) 2021-06-03 11:11:04 +02:00
Luca Casonato 26189cfdf3 tests: add basic integration tests (#13) 2021-06-02 01:16:31 +02:00