freshcomm icon indicating copy to clipboard operation
freshcomm copied to clipboard

Reduce unused CSS

Open roopeshsn opened this issue 3 years ago • 10 comments

Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity.

React Bootstrap is used for styling and the Zephyr theme is used from Bootswatch

roopeshsn avatar Feb 08 '22 02:02 roopeshsn

Hi, I'd love to submit a PR for this issue. I have it done already but didn't read your contributing guidelines about commenting first until I was about to open the PR so I will hold off until you give the green light. Just a note, I followed the steps of this article as a guide that recommends ejecting CRA. The official PurgeCSS guide also recommends ejecting. The only difference is the Purge docs suggest Craco whereas the article does not.

If you'd prefer to not eject, I can find a method for that instead. Thank you!

jccdev45 avatar Feb 08 '22 04:02 jccdev45

Hello! Thanks for showing interest in this project. I read your comment, which is perfect. Yeah, you can submit a PR for this issue.

roopeshsn avatar Feb 08 '22 05:02 roopeshsn

Also, I request you to confirm that the app works fine after configuring purgecss.

roopeshsn avatar Feb 08 '22 05:02 roopeshsn

Hey folks. I'd like to take this issue if nobody minds

alpavlove avatar Apr 17 '22 12:04 alpavlove

Go ahead!

roopeshsn avatar Apr 17 '22 13:04 roopeshsn

Hi,Can you please assign this issue to me!

YashasaveeKesarwani99 avatar Aug 27 '22 15:08 YashasaveeKesarwani99

Could you explain your approach to this?

roopeshsn avatar Oct 02 '22 09:10 roopeshsn

This issue is not meant for adding animation!

roopeshsn avatar Oct 04 '22 01:10 roopeshsn

This issue is still open.

roopeshsn avatar Oct 20 '22 10:10 roopeshsn

Hi @roopeshsn , I would like to take up this issue, we can reduce the css creating global css and also some flexible methods.

ItsDee19 avatar May 05 '23 08:05 ItsDee19