From 4cd5fb25d4760463be4675da602d4507a54f86ab Mon Sep 17 00:00:00 2001 From: Abdullah Khamis Date: Wed, 4 Feb 2026 21:10:12 -0500 Subject: [PATCH 1/2] Fix grammar in sub-router section --- docs/migrate/from-express.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrate/from-express.md b/docs/migrate/from-express.md index fb390b4b..890843c5 100644 --- a/docs/migrate/from-express.md +++ b/docs/migrate/from-express.md @@ -174,7 +174,7 @@ const app = new Elysia() ## Subrouter -Express uses a dedicated `express.Router()` for declaring a sub-router while Elysia treats every instance as a plug-and-play component. that can be plug and play together. +Express uses a dedicated `express.Router()` for declaring a sub-router while Elysia treats every instance as a plug-and-play component that can be plug and play together. From 96b4d21060682a27d9e0bd5f6fe52e031fe2e670 Mon Sep 17 00:00:00 2001 From: Abdullah73k Date: Wed, 4 Feb 2026 22:09:49 -0500 Subject: [PATCH 2/2] fix redundent phrasing in subrouter comparison --- docs/migrate/from-express.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrate/from-express.md b/docs/migrate/from-express.md index 890843c5..a7a8eb65 100644 --- a/docs/migrate/from-express.md +++ b/docs/migrate/from-express.md @@ -174,7 +174,7 @@ const app = new Elysia() ## Subrouter -Express uses a dedicated `express.Router()` for declaring a sub-router while Elysia treats every instance as a plug-and-play component that can be plug and play together. +Express uses a dedicated `express.Router()` for declaring a sub-router while Elysia treats every instance as a plug-and-play component that can be composed together.