/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

alexop.dev
| | benhouston3d.com

When writing tests with Vitest, you often need to perform setup tasks before all tests run and cleanup tasks after all tests complete. This is where Vitest's globalSetup feature comes in handy.
3.0 parsecs

Travel
| |
| | markus.oberlehner.net

Learn how to use partial hydration with Eleventy and Preact and how to apply the principles of progressive enhancement to build resilient websites.
14.3 parsecs

Travel
| |
| | khromov.se

Watch a video version of this blog post below! Svelte 5 brings a lot of changes, from the new Runes-based syntax to deep reactivity and performance improvements across the board. But one aspect that's flown under the radar is the massive reduction in bundle size. In my experiments, you can get about 50% decrease in code shipped to users, just by upgrading to Svelte 5 in your existing Svelte 4 applications! The New Compiler Architecture Svelte 5 introduces a small signals runtime (about 3-4 KB) alongside the compiler. While this adds a bit of code, it allows individual components to [...]
13.6 parsecs

Travel
| |
| | blog.nuculabs.de

Hi ?, In this article I wanna show a testing tip that I've recently learned myself by reading Software Engineering at Google: Lessons Learned from Programming Over Time. The technique improved the way I write unit tests. When I'm writing bigger unit tests, I have execute something in the background, like for example publishing a message to a message broker, wait for the message to be published and then consume it to test that what I published is correct.
23.3 parsecs

Travel
|