Mariusz Michalski
michalski.bsky.social
Mariusz Michalski
@michalski.bsky.social
May 9, 2025 at 8:42 AM
📕 Cache an API response in Nuxt

👉🏻 Learn how to cache an API response in client side and use it everywhere in your Nuxt app.

https://supersaas.dev/blog/cache-an-api-response-in-nuxt
Learn how to cache an API response in client side and use it everywhere in your app.
supersaas.dev
May 7, 2025 at 9:41 PM
bram.us Bramus @bram.us · May 7
Custom Properties compute before they inherit ... and by registering a custom property with a certain syntax, CSS knows what to compute it to ... which allows this:
Using Container Query Units Relative to an Outer Container

Container units (e.g. cqi) are only able to reference the closest container. But if you register a custom property and set that higher up, you can get your hands on other containers units.
May 7, 2025 at 9:36 PM
May 6, 2025 at 11:33 AM
🚀 Why Nuxt Layers Are the Swiss Army Knife of Your Codebase!

👉🏻 Reuse components, composables, pages, server routes like a pro.
👉🏻 Say goodbye to code duplication.
👉🏻 Structure your code in domains.

Not using Nuxt Layers? That’s like choosing spaghetti code over structured apps. 😅
May 1, 2025 at 10:21 PM
🚨 PSA - if you were using my `nuxt-time` module, you can uninstall it

(it's now built into nuxt from v3.17 onwards)
<NuxtTime> · Nuxt Components
The <NuxtTime> component displays time in a locale-friendly format with server-client consistency.
nuxt.com
May 1, 2025 at 10:14 PM
📹 Server-side redirects in Nuxt

👉🏻 Ever wonder why your Nuxt state isn't persisted when you redirect the user somewhere else on the server?
👉🏻 Daniel Roe has an explanation in this brief video.

https://www.youtube.com/watch?v=L46SiZkGCoE&feature=youtu.be
Auf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.
www.youtube.com
May 1, 2025 at 10:07 PM
May 1, 2025 at 10:02 PM
Architect your application structure starting with CSS boilerplate! #css
Following UA+, here's the next project.

CSS boilerplate: A default CSS structure for projects of any size.

It comes with a detailed explanation how I use cascade layers.

fokus.dev/tools/css-bo...
CSS boilerplate | fokus
UA+ (User agent plus), a different type of reset style sheet
fokus.dev
May 1, 2025 at 9:44 PM
May 1, 2025 at 9:42 PM
May 1, 2025 at 9:35 PM
The #CSS min() and max() functions: "From my experience, clamp() gets a lot of love compared to the min() and max() functions. Granted, it’s often the most useful one, but both min() and max() can be extremely useful as well." html-css-tip-of-the-week.netlify.app/tip/min-and-...
The min() and max() functions
The CSS min() and max() functions can be powerful alternatives to clamp() for responsive layouts.
html-css-tip-of-the-week.netlify.app
May 1, 2025 at 9:22 PM
⚡ Did you know that migrating from JSDOM to Vitest Browser Mode is a matter of swapping two imports?
April 30, 2025 at 5:07 PM
If you are using JSDOM, you are shooting yourself in the foot.
Sorry if that's harsh but that's the truth.
April 30, 2025 at 5:04 PM
April 30, 2025 at 5:02 PM
It seems like CSS Layers are pretty much overlooked and underused. 🤔

Are you using CSS Layers?
April 30, 2025 at 4:50 PM
📕 Modular Architecture in Nuxt

👉🏻 In this article, you’ll dive into what makes Nuxt’s modular system so powerful and how you can leverage it effectively in your projects.

https://dev.to/jacobandrewsky/modular-architecture-in-nuxt-4jh9
Modular Architecture in Nuxt
Nuxt is known not only for its Performance and Developer Experience but also for its modular... Tagged with nuxt, vue, typescript, dx.
dev.to
April 30, 2025 at 4:37 PM
April 30, 2025 at 1:37 PM
finally wrote up making a 3D split flap display! ✈️

👉 open.substack.com/pub/craftofui/p/time-travel-with-javascript
April 30, 2025 at 1:22 PM
✨ In March 2023, I published an article about AI.

This was right after OpenAI showcased how GPT4 could turn a hand-drawn sketch of a website into real HTML/CSS/JS. The consensus online was that FE jobs would stop existing within 1-2 years.

Well, it’s been 2 years! So, I just published a follow-up:
The Post-Developer Era • Josh W. Comeau
When OpenAI released GPT-4 back in March 2023, they kickstarted the AI revolution. The consensus online was that front-end development jobs would be totally eliminated within a year or two.Well, it’s ...
www.joshwcomeau.com
April 15, 2025 at 3:28 PM
The Grandmaster is back with some fresh content! #css #animation
finally wrote up making a 3D split flap display! ✈️

👉 open.substack.com/pub/craftofui/p/time-travel-with-javascript
April 15, 2025 at 3:27 PM