News for hackers. Stuff that matters.
Re:Ask HN: Which task do you dislike most as front-end engin... by lovethevoid on Sunday June 23, 2024 @07:43PM (#40771560)
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 engin... by optimussupreme on Sunday June 23, 2024 @07:27PM (#40771488)
Gluing together libraries and dealing with dependencies. There are few well written libraries that just work, like axios. Especially in React Native, looking for a library is like looking for scrap part in a flea market or in a junk yard.
Re:Ask HN: Which task do you dislike most as front-end engin... by mtmail on Sunday June 23, 2024 @06:54PM (#40771320)
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.
Re:Ask HN: Which task do you dislike most as front-end engin... by DamonHD on Sunday June 23, 2024 @07:11PM (#40771411)
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 engin... by meiraleal on Monday June 24, 2024 @04:01PM (#40780039)
This is a solved problem with tailwind/unocss JIT.
Re:Ask HN: Which task do you dislike most as front-end engin... by travjav92 on Sunday June 23, 2024 @09:46PM (#40772108)
framework/lib of the week ( fullstack dev )
Re:Ask HN: Which task do you dislike most as front-end engin... by meiraleal on Monday June 24, 2024 @04:02PM (#40780045)
Make things work well in Firefox and Safari, the new IEs.