Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
devJs1331102dSomeone lazy used lodash then left the company so now there is that. MomentJS used on the legacy part but datefns on more modern part.
Some mf imported the whole library to use that single method! No documentation on official website.
Oh and there is that open source fork of open sourced library, there is some additional functionality in the fork but also not documented.
Assets for icons from library, also from icon font. Images for dashboard from assets folder, some from contentful. User uploaded images are some on contentful, some on cloudinary, but having 2 cloudinary api keys.
First day on the job? Here's the sword. Defend yourself! -
lorentz15240102dBabel is the only reason anyone is able to write the de-jure standard ES and not the de-facto standard subset that all browsers implement identically.
-
kiki35263102d@devJs why use date-fns or any date library for that matter? I just use native date api, pretty easy to do
a lot of formatting done with date-fns can be done with toLocaleString and a correct locale -
devJs1331101d@kiki to cater to designers when they want to give vague information like "few hours ago".
For everything else, I agree with you! -
CoreFusionX3400101dI dare say Babel is the unwanted child of a language with a severe FOMO problem and no clear governing body.
Maybe when they realize that they should keep JS where it belongs, all that tomfoolery will cease. -
lorentz15240101d@CoreFusionX Unfortunately for as long as people keep writing and publishing what's functionally equivalent to compiled binaries instead of adopting a source language and compiling to the interop standard, there will be demand for new high level features and syntax sugar in the standard.
-
lorentz15240101dthe irony is that we do compile to JS, only when faced with the question of what source language should be used, the overwhelming majority of devs pick "JS with a handful of extra features" or "JS with a type checker" so most alternatives have little to no ecosystem supoort
js amiright
joke/meme