@tsrx/hono 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/package.json +2 -2
- package/src/platform.js +1 -0
package/README.md
CHANGED
|
@@ -18,10 +18,11 @@ statements, dynamic tags, sibling-scoped styles, themes, and error boundaries.
|
|
|
18
18
|
Hono handles rendering, hooks, context, and Suspense through its own runtime APIs.
|
|
19
19
|
Authored `class` attributes are preserved.
|
|
20
20
|
|
|
21
|
-
Server components may be async and use
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
Server components may be async and use `await` in setup code and in `@for`,
|
|
22
|
+
`@empty`, `@switch`, and `@if` bodies; a loop body finishes one item before it
|
|
23
|
+
starts the next. DOM components must be synchronous; use Hono's `use(promise)`
|
|
24
|
+
with a pending boundary for asynchronous work. `@catch (error)` is supported, but
|
|
25
|
+
Hono does not provide the reset callback used by some other targets.
|
|
25
26
|
|
|
26
27
|
```tsx
|
|
27
28
|
import { use } from 'hono/jsx';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Hono JSX compiler target for TSRX",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.4",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@tsrx/core": "0.
|
|
46
|
+
"@tsrx/core": "0.3.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"hono": "^4.13.7"
|
package/src/platform.js
CHANGED