We're experiencing a little FOMO by everyone scamming their own audiences out of their hard earned money by selling them ~~json files~~ NFTs. Keep an eye out for our drop next week 😉.
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 ~~were forced~~ had the opportunity to use the then-unfinished SvelteKit framework too.
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 ~~refactor~~ enlightenment happened because Vite's built-in CSS code-splitting and SSR capabilities more closely match SvelteKit's specific requirements.
It also probably doesn't hurt that Rich and Evan are BFFs who share the hobby of bashing React on Twitter.
Right 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.
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).
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:
Since 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.
"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."
Vercel released Next.js 10.0.1. Because we're #agile, we've included it here for your consumption mere hours after its release.
Sam wrote a tutorial on building a website with Svelte & SvelteKit that isn't the NY Times Covid-19 tracking app.
Dave Ceddia wrote a really in-depth article on how to choose between (React) State Management Libraries. We found it peculiar that he based his methodology on the United States' Electoral College, but it is hard to argue with the effectiveness of the Iowa Caucus.
Michael created a new eslint plugin for clean regex, which makes it easier than ever to use regex without actually knowing regex.
Ivan wrote about how changing a single setting can make your Jest tests 20% Faster. You could technically make your Jest tests 100% faster by never testing at all and hoping for the best, but the establishment doesn't want you to know that.
Sean wrote about understanding TypeScript Generics and as a Generic white guy in tech myself I found it helpful.
Anthony wrote about how he "escaped" Node.js, and how you can too. Now might be a good time to remind you that if you ever find yourself in an unhealthy relationship with your runtime, it's best to just make a clean break.
Delivered to 105,434 developers every Monday
This is the first ever newsletter that I open a music playlist for and maximize my browser window just to read it in peace. Kudos to @uidotdev for great weekly content.
The Bytes newsletter is a work of art! It's the only dev newsletter I'm subscribed too. They somehow take semi boring stuff and infuse it with just the right amount of comedy to make you chuckle.
Bytes has been my favorite newsletter since its inception. It's my favorite thing I look forward to on Mondays. Goes great with a hot cup of coffee!
I subscribe to A LOT of dev (especially JS/TS/Node) newsletters and Bytes by @uidotdev is always such a welcomed, enjoyable change of pace to most (funny, lighthearted, etc) but still comprehensive/useful.
Literally the only newsletter I’m waiting for every week.
Bytes is the developer newsletter I most look forward to each week. Great balance of content and context! Thanks @uidotdev.
The sense of humor and structure of the Bytes Newsletter is first class and the information that comes with it is enough to make a mini course.
Very few newsletters manage to be useful and not very boring. @uidotdev manages to achieve these pretty effortlessly. You can almost see Tyler chuckle as he writes them.