+
Skip to content

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jun 26, 2025

This PR exposes H3Core, an abstract class without implementation for _findRoute to allow replacing the router.

Bundle size saving is medium (7.4kB core vs 9.6kB with rou3), but the main benefit is giving better low-level control.

With this PR, we also expose _routes: [] internal array useful for next steps, both accessing nested app route meta (#1111) and better sub-app (#1107) since we can "replay" route additions tothe main app when mounting it.

Copy link

cloudflare-workers-and-pages bot commented Jun 26, 2025

Deploying h3dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7aaac00
Status: ✅  Deploy successful!
Preview URL: https://0cbdfeb3.h3dev.pages.dev
Branch Preview URL: https://feat-h3-core.h3dev.pages.dev

View logs

Copy link

codecov bot commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@pi0 pi0 merged commit 81210d0 into main Jun 26, 2025
4 of 5 checks passed
@pi0 pi0 deleted the feat/h3-core branch June 26, 2025 22:13
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.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载