0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 19:44:26 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
TATSUNO “Taz” Yasuhiro
8cc8a05c89
ci: Report coverage with CodeCov (#2862)
* Output coverage per each test

* Collect coverage

* Exclude test-only files

* update comment

* exclude types

* Add config

* Update bun comment

* Generate coverage in Deno
2024-06-01 04:17:47 +09:00
Taku Amano
32e1b6dd94
feat(jsx/dom): startTransition() and useTransition() (#1996)
* feat(jsx/dom): startTransition() and useTransition()

* chore: denoify

* feat(jsx): add useDeferredValue()

* chore: denoify

* test(jsx): `npm run format:fix`ed
2024-01-17 05:26:59 +09:00
Taku Amano
ce5f4acd3d
feat(jsx/dom): provide jsx-runtime and jsx-dev-runtime via jsx/dom (#1986)
* feat(jsx/dom): rewrite renderer to use virtual tree

* test(deno): add runtime_tests/deno/deno.json in order to allow `document`, `Element`, etc.

* refactor(jsx/dom): Removed redundant `map()` calls

* refactor(jsx/dom): tweaks getNextChildren for reduce code size

* refactor(jsx/dom): optimize findInsertBefore

* refactor(jsx/dom): optimize `build()`

* refactor(jsx/dom): reuse oldChild even in text nodes.

* feat(jsx/dom): handle promise rejection in use()

* feat(jsx): The result of using Suspense and use() is now the same as React's renderToReadableStream().

* chore: denoify

* test(deno): "dom.iterable" is required for 'Headers.entries()'

* feat(jsx/dom): provide jsx-runtime and jsx-dev-runtime via jsx/dom

* refactor(jsx/dom): Enable to import dom specific Suspense and ErrorBoundary from hono/jsx/dom

* test(jsx/dom): remove unused test. await component is not supported.

* feat(jsx/dom): support old style jsx

JSXNode from old style jsx sometimes has no props.

* chore: denoify

* test(jsx/dom): Run tests for hono/jsx/jsx-runtime and hono/jsx/dom/jsx-runtime

* test(jsx/dom): tests for Suspense and ErrorBoundary both for common and dom

* feat(jsx/dom): support old style jsx

JSXNode from old style jsx sometimes has no props.

* chore: denoify

* chore(vitest): fix typo
2024-01-16 21:18:00 +09:00