Migrating Hyvä themes and modules to strict CSP

Standard Alpine evaluates attribute expressions with the function constructor, which requires unsafe-eval in your Content Security Policy (CSP). The CSP build exists only for Alpine…
Read more →I’m Anastasiia Bondar, a frontend developer passionate about building for the web.
Here, I write about practical challenges I face in my daily work, what they teach me, and the ideas and solutions we can discover together along the way

Standard Alpine evaluates attribute expressions with the function constructor, which requires unsafe-eval in your Content Security Policy (CSP). The CSP build exists only for Alpine…
Read more →
Bfcache is one of the highest-impact performance optimizations available on the web, but it still receives far less attention than Core Web Vitals or Lighthouse…
Read more →
If you have used React portals or Vue’s <Teleport>, Alpine’s x-teleport solves the same category of DOM-placement problems using a declarative directive. x-teleport renders Alpine…
Read more →
Tailwind CSS v4 continues to pull previously plugin-dependent features into the core framework. This post covers useful additions: container queries, max-width variants and the new…
Read more →
ℹ️ All examples target Alpine.js v3.x (tested on v3.13). The Alpine.store() API, x-effect, Alpine.data(), and plugin system differ significantly from v2. In this article, let’s…
Read more →
Introduction If you have worked with Hyvä, you are already familiar with Alpine.js and how it’s used within the theme. While the default Hyvä theme…
Read more →