Sam Peterson

Sam Peterson

@sam-peterson.com

Dog lover, long walker, traveler, full stack developer, continual learner, car and wood working enthusiast, and more.

146 followers281 following63 posts

Sam Peterson reposted

Sam Peterson reposted

Today, we launched Effect v4 beta 🚀 Rewritten runtime. Smaller bundles. Unified package system. Performance: v4 is faster and lighter than v3 across the board. Rewritten runtime: lower memory overhead, faster execution, simpler internals. Full announcement: effect.website/blog/release...

github.comGitHub - Effect-TS/effect-smol: Core libraries and experimental work for Effect v4Core libraries and experimental work for Effect v4 - Effect-TS/effect-smol

Sam Peterson reposted

🆕 npx unbarrelify At last, an easy way get rid of barrel files! Rewrites consumers to import directly from source, then deletes the barrels. Safe and fully automated, read all about it at github.com/webpro/unbar...

If you haven't seen any of his content or have an interest in svelte, please go watch this updated course!

matia 🇭🇷@joyofcode.xyz

I'm excited to release the Svelte 5 course aimed at new and existing Svelte developers! 🔥 Learn how to make blazing fast web apps with Svelte and understand how it works with hands-on experience. youtu.be/B2MhkPtBWs4

Sam Peterson reposted

OpenTelemetry tracing is live in SvelteKit! Huge s/o to @stracke.tech for all the help along the way. SvelteKit can now emit OTEL spans for all of its serverside constructs. It also provides an instrumentation file to easily set up trace exports. svelte.dev/blog/sveltek...

svelte.devIntroducing integrated observability in SvelteKitSvelteKit apps can now emit OpenTelemetry traces and reliably set up observability instrumentation using instrumentation.server.ts

Sam Peterson reposted

I wanted to release the Svelte 5 guide later since I was thinking about interactive examples but here you go if you like reading and I would love your feedback as I work on the video. 😄 joyofcode.xyz/learn-svelte

joyofcode.xyzThe Complete Svelte 5 GuideThe ultimate guide for the most beloved JavaScript framework.
matia 🇭🇷@joyofcode.xyz

The Svelte 5 guide has everything from reactivity and how it works, when to use and avoid effects, events, bindings, components and composition, transitions and animations to using third party libraries and making external systems reactive. 🔥

Loved the RSC talk by Tanner, I've used Start and it's great. Take a small project and at least use Tanstack Router as it is so amazing having URLs as state! Thanks #reactsummit

Had a great time speaking today about Svelte and SvelteKit at a JS meetup. The interest and those that use (from a hand raising) was similar to that found in the State of JS 2024 survey. Thanks all who attended and had some excellent questions!

Impressed to see the success and speed Prisma is adopting TS over rust to reduce memory transfer between languages. Resulting in a performance lift! Also good to see it available for public testing. New "Rust-free" Version of Prisma ORM (Early Access) - Check it out here: prisma.io/blog/try-the...

prisma.ioTry the New "Rust-free" Version of Prisma ORM (Early Access)Faster, more flexible, better DX: This is what our move from Rust to TypeScript unlocks! But it’s even more, it’s not just a re-write from one language to another, it’s a fundamental improvement in th...

Sam Peterson reposted

📽️ From a radical rethink to the new standard in speed and simplicity, @vite.dev v has become the go-to tool for modern web development. Discover its story and the impact shaping the future of the web

 The @vite.dev Documentary is coming soon! Stay tuned for the release date! 🚀

Sam Peterson reposted

Been excited for this for some time!

Ben McCann@benmccann.com

WebSockets in SvelteKit are ready for testing! Please test them out and share your feedback: github.com/sveltejs/kit... Thanks to @lukehagar.com for implementing it (our most overdue feature!), @pi0.io for providing the crossws library used, and Tee Ming for helping to review and guide the PR.

Sam Peterson reposted

> When bundling all eight libraries together, @vite.dev is the winner, with the output size of 2087 KiB. Comparing it to the largest output size of 2576 KiB, that's over 23.5% smaller output. Fantastic post from Filip. If you're working on a big web app, you'll surely find some ideas to improve it.

Filip Sobol@filipsobol.com

My article “Downsize your JavaScript: Mastering Bundler Optimizations” is out. It covers practical steps to reduce the amount of JavaScript you ship. I also compared 7 bundlers to help you make an informed decision about which one might be best for you. dev.to/filipsobol/d...

Sam Peterson reposted

I keep importing the wrong thing in VS Code! Pop an autoImportFileExcludePatterns in your settings file Super helpful for Radix UI, Drizzle DB adapters, and node:test