Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Change default server from polka to express #1617

Closed
Zerotask opened this issue Oct 25, 2020 · 3 comments
Closed

Change default server from polka to express #1617

Zerotask opened this issue Oct 25, 2020 · 3 comments

Comments

@Zerotask
Copy link

Since most people in a JS / NodeJS environment know Express, it would be easier to start with Sapper if they see known things and I guess Polka is maybe a good alternative, but with just about 4k GitHub stars not really a big thing (compared to Express with 50k stars).

@peopledrivemecrazy
Copy link

Sorry, but polka just works fine. Stars don't usually define any standards (code quality, performance, etc., ). Moreover, the syntax is not that different https://github.com/lukeed/polka#middleware

@Zerotask
Copy link
Author

Zerotask commented Oct 25, 2020

I didn't say that Polka isn't working good, but Express is a standard for web frameworks / API, Polka isn't and GitHub Stars is a representing number (it often correlates with the amount of people who use it).
It shouldn't be the only reason to choose a package, sure, but it's definetely something you should be aware of.

@Conduitry
Copy link
Member

We tend to like to steer people towards more lightweight packages. For many things, people won't even notice the difference between the two. Polka can be swapped out for Express in individual projects if that's what is wanted or needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants