DEV Community

Nick Milillo
Nick Milillo

Posted on

Nuxt3 CSR Delayed Hydration

Are there any strategies for delaying certain scripts from running when deploying in CSR mode?

I deploy my front end to AWS S3 using SSR False.

PageSpeed is telling me my site is a little slow, however I've optimised and converted all my base images to webp.

There are certain JavaScripts that could be delayed however delaying them using nuxt-delay-hydration wont work due to being CSR.

Thanks

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

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

Okay