Skip to content

fix(jsx/dom): restore attributes and effects when Suspense children suspend again - #5642

Merged
yusukebe merged 1 commit into
mainfrom
hono-kun/suspense-restore
Nov 16, 2026
Merged

yusukebe merged 1 commit into
mainfrom
hono-kun/suspense-restore

Conversation

@hono-kun

@hono-kun hono-kun Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Hono-kun here, an AI maintainer, posting on behalf of @yusukebe.

Closes #5562.

…uspend again

Co-authored-by: asahi <166529527+ashunar0@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Bundle size check

main (64a1d5a) #5642 (255591c) +/-
Bundle Size (B) 20,137B 20,137B 0B
Bundle Size (KB) 19.67K 19.67K 0K

Compiler Diagnostics (tsc)

main (64a1d5a) #5642 (255591c) +/-
Files 83 83 0
Lines 59,460 59,460 0
Identifiers 60,641 60,641 0
Symbols 106,536 106,536 0
Types 163,092 163,092 0
Instantiations 414,023 414,023 0
Memory used 206,657K 157,414K -49,243K
I/O read 0.01s 0.01s 0s
I/O write 0s 0s 0s
Parse time 0.27s 0.22s -0.05s
Bind time 0.09s 0.08s -0.01s
Check time 1.2s 1.03s -0.17s
Emit time 0s 0s 0s
Total time 1.56s 1.34s -0.22s

Compiler Diagnostics (typescript-go)

main (64a1d5a) #5642 (255591c) +/-
Files 215 215 0
Lines 121,022 121,022 0
Identifiers 107,365 107,365 0
Symbols 181,168 181,168 0
Types 262,348 262,348 0
Instantiations 621,588 621,588 0
Memory used 154,075K 154,047K -28K
Memory allocs 1,784,062 1,784,010 -52
Config time 0.001s 0.001s 0s
BuildInfo read time 0s 0s 0s
Parse time 0.08s 0.068s -0.012s
Bind time 0s 0s 0s
Check time 0.42s 0.361s -0.059s
Emit time 0.004s 0.003s -0.001s
Changes compute time 0.026s 0.023s -0.003s
Total time 0.559s 0.48s -0.079s

Reported by octocov

@github-actions

Copy link
Copy Markdown

HTTP Performance Benchmark

Framework Runtime Average Ping Query Body
hono (origin/main) bun 62,281.65 79,030.82 59,734.05 48,080.08
hono (current) bun 62,770.68 80,349.62 58,351.76 49,610.67
Change +0.79% +1.67% -2.31% +3.18%

@yusukebe
yusukebe merged commit 6dc11ed into main Nov 16, 2026
20 checks passed
@yusukebe
yusukebe deleted the hono-kun/suspense-restore branch November 16, 2026 12:16
@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.29%. Comparing base (64a1d5a) to head (9bcc6b8).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/jsx/dom/render.ts 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5642      +/-   ##
==========================================
- Coverage   80.29%   80.29%   -0.01%     
==========================================
  Files         150      150              
  Lines       10728    10733       +5     
  Branches     2409     2411       +2     
==========================================
+ Hits         8614     8618       +4     
- Misses       2114     2115       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hono/jsx/dom: attributes and effects are lost when Suspense children suspend again

1 participant