question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Snowpack: 4.0 and beyond

See original GitHub issue

šŸ‘‹šŸ» Hello! Wanted to create an issue to provide a bit of a project update and what we have planned. First, some background:

Snowpack launched in Jun 2019 (over 2 years ago!). Since then, itā€™s had 3 major releases, a name change (originally @pika/web), 1.2+ million downloads from npm, over 18k stars on GitHub, and 300+ contributors. And the best part has been the communityā€”seeing so many excited to push the web forward while simplifying tooling.

In that 2 years, a lotā€™s changed! For starters:

Itā€™s been rewarding to watch the web progress as we envisioned 2 years ago. And weā€™re proud Snowpack has played a big role in that direction.

Whatā€™s next for Snowpack

Snowpackā€™s original goal was to simplify the overcomplicated toolchain developers had to wrestle with to ship the most basic of websites. And Snowpack achieved that! So well, in fact, it started doing more than simply building websites; itā€™s now starting to be used to make new generation of build tools. Nate Mooreā€™s Microsite and our own Astro are key examples of how Snowpack can convert almost anything you throw at it into plain olā€™ HTML/CSS/JS (and do it blazing-fast, to boot).

Our vision for the future of Snowpack centers around improving this foundation for new generation of web tooling. Developers should be able to use all of npm and modern JS without wrestling with all the complexity themselves. Here are some upcoming highlights:

  • āš”ļø Improved SSR API. The future of the web is SSR. Today, Snowpackā€™s SSR engine requires hard files and disk access. Snowpack was also originally designed for shipping code to browsers, which can limit an SSR build when Node.js is needed to execute. Snowpack v4 will introduce virtual file support which will allow Snowpack to do more in-memory for flexibility and performance, as well as full Node.js SSR support for people to unlock the full power of Node. Imagine being able to power servers with Snowpack and being able to SSR on-the-fly, all while managing less of that yourself!
  • šŸ‡ All-in on esbuild. Snowpack was quick to adopt Go-powered esbuild, and itā€™s payed dividends in performance. But Snowpack has also had to build out features while the esbuild project matured, with the end result being duplication between the two. Thereā€™s more performance Snowpack could be tapping into, but it could require a bit of work behind-the-scenes. And letā€™s not forget about esbuildā€™s list of community plugins that are starting to catch up to all that Snowpack can do, but with theoretically faster performance. By betting on esbuild and letting it power more in Snowpack, Snowpack can focus on providing everything esbuild doesnā€™t: an HMR-powered dev server, SSR APIs, streaming imports, and everything else to come.
  • šŸ± Multi-platform targeting. Snowpackā€™s original design assumed a browser target, which while a great starting point, itā€™s incomplete with HTML, CSS, and JS turning into more universal languages that power even desktop and mobile apps, and with webviews becoming a core foundation of software in general. Snowpack v4 will introduce multi-platform targeting which means youā€™ll be able to use Snowpack to build for more than just browsers.
  • šŸ§© Improved JS API. The CLI came first in Snowpack, followed by the JS API, and it shows in several areas. Snowpack v4 will take on the remaining work making the JS API feature complete, and moving it to be the core of Snowpack. In the process, weā€™ll be able to clean up Snowpack and make more room for even more in v5 and beyond.

The overall goal with the next major release of Snowpack is to open up more possibilities for building for the web.

Snowpack Community 2.0

We realize over the past few months Snowpack releases, development, and community management has come in waves. This is largely being limited by only a couple core maintainers. Weā€™d like to do better not only being consistent ourselves, but help shepherd more contributors into becoming more dedicated core maintainers. So in that light, look forward to a new Governance Model for Snowpack that will improve the following:

  • Clearer path from contributing to becoming a core maintainer
  • Clearer responsibilities for core maintainers
  • More regular maintainer discussions & meetings.

Whether youā€™re new to Snowpack altogether, or if youā€™ve been following the project for a while but have been confused how to get more involved, all of this will help!

Weā€™re hoping that this feels like a ā€œDay 1ā€ for a new contributor community.

Thereā€™s never been a better time to get involved! If youā€™d like to learn more about contributing, head over to the Snowpack Discordā€™s #contributing channel!

Thanks so much for making Snowpack what it is today. We couldnā€™t do it without each and every one of you šŸ—».

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:28
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

15reactions
FredKSchottcommented, Sep 16, 2021

Hey everyone, I just posted a blog post to dev.to that includes some context on some burnout that I experienced while maintaining Snowpack and some thoughts on the current state of Snowpack. I figured it was worth sharing here: https://dev.to/fredkschott/5-more-things-i-learned-building-snowpack-to-20-000-stars-5dc9

Itā€™s hard to summarize the post without losing important context, so I wonā€™t add a tl;dr. But I will say: it felt really nice saying out loud a question that has been bugging me for a while now: what should we do about Vite? We live in a world where Vite is well maintained, has community buy-in across multiple projects/ecosystems, and is a pretty straightforward drop-in replacement for Snowpack in most projects. Iā€™ve personally heard from several users and build tool authors who transitioned from Snowpack to Vite and were happy with the result. We even have an experiment going on inside of Astro that fixes some bugs by converting from Snowpack to Vite.

I have so much love for this project and the people who have used it, contributed to it, and believed in it since day one. Snowpack isnā€™t going anywhere. But I think it is time for a convo about what path forward is best for existing Snowpack users. The best path forward might be a clean migration to a similar-but-better-maintained project like Vite.

3reactions
jactycommented, Sep 16, 2021

Hey everyone, I just posted a blog post to dev.to that includes some context on some burnout that I experienced while maintaining Snowpack and some thoughts on the current state of Snowpack. I figured it was worth sharing here: https://dev.to/fredkschott/5-more-things-i-learned-building-snowpack-to-20-000-stars-5dc9

Itā€™s hard to summarize the post without losing important context, so I wonā€™t add a tl;dr. But I will say: it felt really nice saying out loud a question that has been bugging me for a while now: what should we do about Vite? We live in a world where Vite is well maintained, has community buy-in across multiple projects/ecosystems, and is a pretty straightforward drop-in replacement for Snowpack in most projects. Iā€™ve personally heard from several users and build tool authors who transitioned from Snowpack to Vite and were happy with the result. We even have an experiment going on inside of Astro that fixes some bugs by converting from Snowpack to Vite.

I have so much love for this project and the people who have used it, contributed to it, and believed in it since day one. Snowpack isnā€™t going anywhere. But I think it is time for a convo about what path forward is best for existing Snowpack users. The best path forward might be a clean migration to a similar-but-better-maintained project like Vite.

I think the reason we are losing users is because of delay. I have been following this rep and trying to help as much as I can in issues and found out that many issues have been leave unresolved for long even without a reply from official member. It is just like a poor customer service. And our official website even has many wrong links and UI problems. All those just make new users feel cold to make a try, I guess.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Snowpack
Snowpack is a lightning-fast frontend build tool, designed for the modern web. It is an alternative to heavier, more complex bundlers like webpack...
Read more >
Utah Snowpack Totals - KSL News
Utah Snowpack Totals ; Beaver Divide, 8280, 6.2, 4.0, 155Ā ...
Read more >
Homedale 4.0 Wnw Snow Report | Idaho NOHRSC ID-OW-2
Homedale 4.0 Wnw reports 0" of new snowfall today, and the ground is bare with a 0" snowpack. The mountain is perched in...
Read more >
Dramatic declines in snowpack in the western US - Nature
We use these reconstructed, gridded data to force VIC, version 4.0.6, which produces SWE and other hydrologic variables. The VIC model isĀ ...
Read more >
Editorial: Climate impacts on snowpack dynamics - Frontiers
Climate Impacts on Snowpack Dynamics 14 Snow plays a critical role in the global climate system and hydrological cycle by spatio-temporallyĀ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found