![]() We’re experiencing a little FOMO by everyone scamming their own audiences out of their hard earned money by selling them SvelteKit Enters Public Beta
It’s doing its best Working with a big-name OSS author sounds kinda rough sometimes. Like, guess what’s always gonna be in your tech stack? Well, if you were building a Covid Tracker while working at the New York Times with Rich Harris last year, you already knew Svelte was gonna be involved. But those developers got another fun curve ball thrown at them when they To be fair, it worked. And while Rich did admit that this dogfooding-on-steroids wasn’t exactly best practice, who wasn’t scrambling back in Spring 2020? Fast forward a year, and SvelteKit just announced its public beta last week. It calls itself “the Next.js of Svelte,” because SvelteKit is also a “meta-framework” for building web apps that uses flexible, filesystem-based routing - not because its parent company has raised $61m in funding (yet?). SvelteKit also handles all of the boring stuff like code-splitting, offline support, and server-rendered views with client-side hydration. What’s its secret? At last October’s online Svelte Summit, Rich stared deeply into all of our souls and preached the gospel of Snowpack — telling us how using this super-fast frontend build tool under the hood of SvelteKit was a game changing alternative to heavier bundlers like Webpack and Parcel. As we all know, this industry moves fast. Since Svelte Summit checks notes 4 months ago, Rich has been born again and now finds himself in Evan You’s house Vite. According to Rich, the It also probably doesn’t hurt that Rich and Evan are BFFs who share the hobby of bashing React on Twitter. The Bottom LineRight now, there’s a pretty big gap in Svelte interest (which is very high) and Svelte usage (which is not as high, yet). Making SvelteKit the go-to way to easily get started with Svelte should help to close that gap by making Svelte-world a lot more approachable. Vanilla Extract – A New Way to CSS-in-JS
Alright stop, collaborate and listen Straight Outta Melbourne… comes a new-and-improved way to do CSS-in-JS from recovering Meme Lord and one of the creators of CSS Modules, Mark Dalgleish. Vanilla-extract is a brand new library that Mark calls “the spiritual successor to CSS Modules, but with hashed CSS Variables.” It’s also one of the best names for a new open-source library that we’ve heard in a minute (you can take the boy out of the Memes but you can’t take the Memes out of the boy). V-E (as the cool kids would say) lets you write styles in TypeScript or JavaScript with locally scoped class names and CSS Variables, then it generates static CSS files at build time. We don’t know a lot about vanilla-extract at this point, but here’s a few more highlights, courtesy of Mark’s announcement tweet:
The Bottom LineSince vanilla-extract is the “spiritual successor to CSS modules,” we started thinking — what would be the spiritual successor to this newsletter? Hear me out. We take Bytes, make it a png file, host it on Cloudinary, put that meta data in a json file, call it an NFT, ???, profit. Don’t miss the drop next week. What does building for the web look like 5 years from now?“We’re going to increase the abstractions for a lot of development work. UIs for things like Babel configuration and other build tooling. Default configuration from CI products that can keep up with tooling changes faster than browsers can adopt standards. There is going to be a larger gap in the knowledge needed to build the tooling compared the knowledge needed to use the tooling.”
Cool Bits
|