egg icon indicating copy to clipboard operation
egg copied to clipboard

Why egg not building inherit from ExpressJS?

Open phatify opened this issue 3 years ago • 1 comments

Background

Why egg not building inherit from ExpressJS? Is it possible to work with eggs from ExpressJS knowledge?

Proposal

Please support both ExpressJS and Koa

phatify avatar Dec 23 '21 07:12 phatify

because Koa is more modernized than Express. Koa middleware uses the onion model.

we don't have the plan to support Express.

anyway, at egg 3.0, we will not extend Koa anymore, Egg will have its own onion model and context model, which will let us easy to interact with HttpContext/SocketContext.

atian25 avatar Dec 25 '21 06:12 atian25