Live data from Hacker News

Ask HN: Which task do you dislike most as front-end engineer?

news.ycombinator.com

1–8 of 8 posts

Re: Ask HN: Which task do you dislike most as front-end engineer?

#3
post #2

Figuring out which CSS rules are actually used. I could swear I saw a tool 10 years ago that would go through pages and list unused CSS rules. Maybe it got too complex with pre-processors and CSS having its own macro language.

There are several.

I use a combination of (from npm): cleancss, PurgeCSS, UnCSS, purifyccs.

Re: Ask HN: Which task do you dislike most as front-end engineer?

#5
The immediate push to rely on an external library every single step of the way is quite boring! So much of it is outdated and redundant, by people who don't even know the standards have changed and that library is quite unnecessary now (except maybe for very niche cases).

There's this allergic reaction to using your own tools, which I find strange. Yes, I get it, don't reinvent the wheel. However, we're not reinventing the wheel! We're using standards that exist and provide what the libraries do.

Re: Ask HN: Which task do you dislike most as front-end engineer?

#7
post #2

Figuring out which CSS rules are actually used. I could swear I saw a tool 10 years ago that would go through pages and list unused CSS rules. Maybe it got too complex with pre-processors and CSS having its own macro language.

This is a solved problem with tailwind/unocss JIT.