docs: more faq
This commit is contained in:
parent
9812aff8d2
commit
6761caa09d
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@
|
||||||
It's more like Connect, but a lot of the Express goodies
|
It's more like Connect, but a lot of the Express goodies
|
||||||
were moved to the middleware level in Koa to help form
|
were moved to the middleware level in Koa to help form
|
||||||
a stronger foundation. This makes middleware more enjoyable
|
a stronger foundation. This makes middleware more enjoyable
|
||||||
and less error-prone to write. Typically many middleware would
|
and less error-prone to write, for the entire stack, not
|
||||||
|
just the end application code.
|
||||||
|
|
||||||
|
Typically many middleware would
|
||||||
re-implement similar features, or even worse incorrectly implement them,
|
re-implement similar features, or even worse incorrectly implement them,
|
||||||
when features like signed cookie secrets among others are typically application-specific,
|
when features like signed cookie secrets among others are typically application-specific,
|
||||||
not middleware specific.
|
not middleware specific.
|
||||||
|
|
Loading…
Reference in a new issue