We all hate it when our page loads this slow right! ๐
Infact website conversion rates drop by an average of 4.42% with each additional second o...
For further actions, you may consider blocking this person and/or reporting abuse
Great post!
But I think "1.a Splitting CSS Files" may be hard to achieve when using modern CSS solutions like CSS modules or Tailwind CSS.
Anyway it's a good idea. Thank you!
Yes that's a problem in PostCSS plugins like Tailwind. The ways out are just minifying your CSS with a tool like cssnano, and compressing your CSS with Brotli. But hoping they will update something as such later!
Does using styled components in React (css in js) also speed up the application or website?
I don't think so. If you compare static css and styled components in react.... static css will be faster... because it is not processed during runtime.
However with every new versions React is getting better and better.
So in this case if you can compromise on your performance a bit... styled components in React may solve many other issues!
Ok @koustav, I got it.
By static css do you mean files with .css extension?
Using .scss files reduces performance or not? Because they are also processed (converted) into css first.
Btw thanks for your quick reply โค๏ธ
Great advise, principal the image format.
Thanks
Great post!
Thanks
This is great. Thank you.
my suggestion .
we can manage our API requests with tricks and libraries like React Query
I once tried to lazyloading content which is off screen and the SEO guy came for my blood.
Feeling something missing?
Put your suggestions in the comments ๐
I'll be happy to add your suggestions!
Did this post help you?
Save it for later...
lets_code_together
Yep. This was very helpful. Thanks
Since you mentioned about coding splitting for CSS code, it is also good to inline critical css so the page could render. And then fetch and apply the remaining CSS.
twitter.com/iamakulov/status/12394...
fetchpriority is also a good choice even it is not supported by all browser now
Pretty nice :) But using GitHub fences for code fragments would be better.
ะกongratulations ๐ฅณ! Your article hit the top posts for the week - dev.to/fruntend/top-10-posts-for-f...
Keep it up ๐
have you tried tailwind for additional css
I learnt and now started ipad reparature berlin
I kever knew there was a "media" attribute existed...๐
Great postโค๏ธ