Last 12 weeks · 9 commits
3 of 6 standards met
What version of HonoX are you using? 0.1.56 What steps can reproduce the bug? After scaffolding a project with the , and then adapting it to be used with Deno, the app works fine. After adapting the + into a , hydration starts to fail. The following are steps to reproduce this state: Repo with the exact state described: https://github.com/vhespanha/my-app What is the expected behavior? Click on button and have the counter be increased. What do you see instead? Nothing happens. Additional information HonoX doesn't seem to claim compatibility with Deno. And this issue could be the "fault" of any of the three (Vite, HonoX and Deno) core dependencies, I just thought this would be a good place to start investigating. If anyone thinks this is not the place, I can close the issue and open it somewhere more appropriate.
Follow-up to #366. Generic-izing left several / workarounds; this PR makes each one sound. Renamed createElementFromHTMLElement -> createElementFromDom because it should accept SVG or mathjax elements. Also fixes a latent bug: nodes could be unhandled and crashed on in the element branch. The final branch is now gated on , so they are silently skipped. Verified with , , , .
Upgrade TypeScript to 6, and move the typescript-eslint toolchain to 8.60.0 (first line supporting TS6). , and passes. TS6 peer-range caveats These deps still declare a peer range, so install emits peer warnings (checks are green): (runtime dep) requires , so it keeps its own alongside the project's .
Bug 1 — No subtree memoization (O(N²) walk) The existing object only avoids re-reading files from disk. It does not prevent re-walking a subtree. When 70 app files all transitively import , the subtree rooted at was walked 70 times instead of once. Bug 2 — Recurses into extracts every import string from a file, including third-party ones (, , ). The walk was resolving and recursing into all of them. An island component that uses React + one UI library can pull in hundreds of files, none of which can ever contain an island component.
Repository: honojs/honox. Description: HonoX - Hono based meta framework Stars: 2868, Forks: 95. Primary language: TypeScript. Languages: TypeScript (99.9%), JavaScript (0%), MDX (0%). License: MIT. Homepage: https://hono.dev Latest release: v0.1.58 (1d ago). Open PRs: 5, open issues: 57. Last activity: 1d ago. Community health: 50%. Top contributors: yusukebe, usualoma, 3w36zj6, berlysia, muningis, meck93, bruceharrison1984, gobengo, 4513ECHO, ryuapp and others.