This week, weâve got the Death Cab for Cutie of auth solutions, lessons from Daddy Warzucks, and nowhere to hide.
Welcome to #105.
We are fast. We are lean. We are French.
The build tool coming for us all
Everywhere you look, there it is. There is no escaping it, nowhere to hide.
No, Iâm not talking about your âI buy what I knowâ blood-red tech stock/crypto portfolio, Iâm talking about Vite (pronounced Vite) â the tooling sensation thatâs taking over the web.
Quick Review: Vite was started by Evan You (never heard of him) to solve the âperformance bottleneckâ issues of JavaScript-based tooling â aka build times long enough to cook a full English breakfast. It does this in two key ways: 1) leveraging native ES modules in the browser, and 2) using new, fast-AF tools like esbuild and Rollup for building and bundling.
This allows it to create a unique combination of speed and a great JavaScript developer experience. You donât need any specialized knowledge of low-level languages like Rust or Go in order to adopt or customize Vite (as Eric Simons wrote when he announced that StackBlitz was becoming Viteâs largest backer).
And thatâs just one of many Wâs that Vite has stacked up recently. Letâs recap a few more:
-
Hit the 1 million downloads per week milestone last month (up 10x from a year ago).
-
Adopted by multiple high-profile projects, including Svelte/SvelteKit, Astro, Hydrogen, Storybook, Vue/Nuxt (obviously) and lots more.
-
Released Vitest â a super fast, Vite-native unit testing framework that just passed 200k downloads per week.
Bottom Line: Remember, Vite rhymes with âfeetâ â so be sure to pronounce your words very clearly when telling your partner that youâll be attending the âFirst Annual Vite Confâ, a couple years from now.
Behold, the all-knowing ~~Sleuth~~ sloth. [sponsored]
Sleuth.io wants to teach your team how to ship software like Netflix and Amazon
Thatâs why Sleuthâs CEO & Co-founder, Dylan Etkin, wrote this Ultimate Guide to Going from Zero to One Hundred Deploys a Day.
Itâs a 60-page e-book that dives deep into the journey of how elite teams at Amazon, Google, and Netflix went from deploying once a week to hundreds of times a day. And Dylan shares an actionable roadmap for how you can apply a lot of those same principles to your own team, no matter what size.
Oh, and itâs completely free.
âBut what does Mr. Fancy CEO Man know about deploying software?â Well, after some quick Googling, we learned that Dylan was one of the first 20 employees at Atlassian and the first architect (and founding engineer) of Jira, before creating Sleuth. So yeah, heâs probably one of the most qualified people on the planet to write about this topic.
Check it out. Knowledge is power.
The React Team's response to your questions about perf benchmarks
React is playing its own game now
React has been at the top of the JavaScript charts for almost a decade. But just like Daddy Warzucks, the React Team has learned that âYou donât get to 500 million friends without making a few enemies.â
And by âenemiesâ, we mostly mean âdevelopers who are angry on twitterâ â but you get the point.
That said, many of the criticisms of React in recent years have been fair. In the 5+ years since React started working on concurrency, competing frameworks have leveled up by introducing smaller bundle sizes, faster OPS on benchmarks, and improved ease of use â while React (one could argue) has lagged behind in these areas.
But do these things actually matter? According to the React Team, the answer is, not as much as you might think. Dan Abramov wrote as much in a long Reddit thread last week, while addressing some of these critiques.
Instead, the React Team, like my Mother-in-law, has been more focused on âholistic improvementsâ. Specifically, improvements that impact the whole app (not just the framework), which they highlighted in a recent blog post about what theyâve been working on.
We were disappointed to see that essential oils and energy healings werenât included among these âholistic improvements,â but hereâs a few interesting things they did mention:
-
Server Components â looking to reduce bundles by providing a seamless experience for moving code from the client to the server.
-
Asset Loading â leveraging Suspense to load in 3rd party assets like styles, fonts and other scripts without the âjank.â
-
Compiler â researching how to get rid of the need to âfine tuneâ performance issues.
-
Offscreen â instead of having to mount/unmount components you can âstashâ them away (very useful for some more advanced use-cases).
Bottom Line: Itâs convenient for anyone (including the React Team) to take the position that âthe things we arenât good at donât actually matter that much.â It doesnât mean that theyâre wrong (they make some great points), it just means that itâs⌠convenient.
Jobs
Synapse is a software consultancy (Node/React) with a focus on engineering excellence and tightly knit, low-ego teams. We believe devs want to feel productive, challenged, and supported, and we build our culture around those concepts. Come join our growing crew as we solve interesting challenges in healthcare, fitness, IoT, retail and more, for a variety of clients, at scale.
JS Quiz â Sponsored by BugHerd
BugHerd makes it easy to get feedback on a website from team members and clients. No more email chains, Slack threads, or screenshots. Try it free.
What gets logged?
function Dog(name) {
this.name = name
this.speak = () => 'Woof Woof'
}
Dog.prototype.speak = function() {
return 'Ruff Ruff'
};
const dog = new Dog('Leo')
Cool Bits
-
Tauri just released v1.0 of its toolkit for building cross-platform desktop apps. It claims to be a lot more lightweight than Electron, but Iâm just wondering when we can all stop bodyshaming our thicc-lib
king.
-
What does this newsletter have in common with Amazon, Unity, and Pinterest? 1) Weâre all innovative tech giants, and 2) we all use Retool to build our internal tools because theyâre literally the best. Check them out for free. [sponsored]
-
RulesJS just launched the v1.0 beta of their Bazel rules for JavaScript tool. If you donât know what Bazel is, just know that itâs a build tool that has to do with monorepos. If you donât know what monorepos are, then just do what everyone else does and nod your head approvingly whenever you hear someone talk about them.
-
Fresh is a new web framework created by the Deno folks that describes itself as a combination of âa routing framework and templating engine that renders pages on demand, on the edge.â Thankfully I memorized this mnemonic in grade school to help me know if something was good or not - âIf itâs written in Rust, it leaves other tools in the dust. If itâs declarative, it controls the narrative. If it renders on the edge, itâs time to pledge.â
-
In My other database is a compiler, Glauber breaks down how his team is working on freeing developers from the pains of databases by leveraging modern tooling like SWC, TypeScript, and a sprinkle of (AST) magic.
-
Ladle v1.0 was just released to let you âdevelop and test your React stories faster.â How does it do that? Vite, of course.
-
IndieAuth is an identity layer on top of OAuth 2.0 that lets users use their own domain to authenticate, without requiring an email address or social profile. It seems like a great solution, but like most indie bands, itâll probably only have a small group of hardcore fans (who think theyâre superior to everyone else for knowing about it). The Death Cab for Cutie of auth solutions.
-
IE11 finally died last week, and someone was thoughtful enough to create this beautiful tombstone for it in Korea with a moving epitaph â âIt was a good tool to download other browsers.â Truer words were never spoken. Rest easy, old sport.
JS Quiz (Answer) â Sponsored by BugHerd
What gets logged?
function Dog(name) {
this.name = name
this.speak = () => 'Woof Woof'
}
Dog.prototype.speak = function() {
return 'Ruff Ruff'
};
const dog = new Dog('Leo')
Woof Woof
gets logged.
Before JavaScript delegates the lookup of the property to the Constructorâs prototype
, it first checks to see if the property exists on the object being returned from the Constructor. In this case, it does so it calls it.
For more info., check out A Beginnerâs Guide to JavaScriptâs Prototype
Share Bytes
We work hard to make Bytes something you'd want to share with your
developer friends. And to make it a little easier, we'll give you free
stuff when you do.
Have a product you think our developers will love?
Advertise in Bytes
50 W Broadway Ste 333 PMB 51647 Salt Lake City, Utah 84101
Unsubscribe from Bytes