+0
日增长
5,586
stars
176
forks
68
watchers
73
prs
157
issues
21
releases
Top issues
#17TypeScript typings support?37 comments · 2018-01-24#12Why no throwing from middleware?23 comments · 2018-01-20#14Package: Express-like Response Helpers12 comments · 2018-01-21#107Sub-app not working when mounted on "/"11 comments · 2019-08-27#36App mount path stripped to a of cardinality of 111 comments · 2018-03-08#85Build a list of native or Polka-compatible middleware8 comments · 2019-02-01#77next function in single function case5 comments · 2018-12-11#127Make polka ultra light weight4 comments · 2020-02-02
Latest release
v0.5.0 v0.5.0 2018-09-18Breaking
- Remove Promise around app.listen (19): dc56b9d, e34a2a4
The previous polka.listen was a Promise & had structured input, both of which made it unique from existing frameworks. However, it was also a gotcha for projects migrating from existing frameworks.
Instead, polka.listen now passes all arguments directly to the underling server.listen, which is arguably more "in tune" with the rest of Polka's ideology around native http integration.
The new method will now rerun the current Polka instance directly, allowing you to continue chaining from it, or allowing yo