DEV Community

Ankit Beniwal
Ankit Beniwal

Posted on • Edited on

1 1

How to defer non-critical CSS in Next.js?

Recently, I was exploring next.js and found out that we have an importstatement for CSS.

I am wondering how it affects the performance of the app. Is there a way to defer non-critical CSS using this method?

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay