9

some guy asked me to look at his react project,

I'm yet to find out the problem with his routing but look at this dependency list.

for a simple frontend project, I really dont know how many lazy developers are being introduced into the javascript ecosystem,

might seem normal to others but it feels wrong to me, as a beginner developer who isnt even dealing with a deadline

or......... maybe they are just plain clueless that they dont realize this level of redundancy

Comments
  • 6
    Let me guess: they adopted yet another opinionated boilerplate without cutting out the stuff they don't need?
  • 2
    I see material-UI

    Id wager they used the default theme and extended their mess into it.
  • 1
    Looks like a boilerplate's "final form". 🤭
  • 3
    When you're new it's really hard to understand when you're bringing in a BEHEMOTH of a library to solve a small problem because you always think you're going to maybe need the other stuff...

    As I've gotten more experience I find I just look at the code and say "yeah I like the way they do that ... i'll just write that myself" .

    Like final form is cool, but I've never NEEDED all of what it does.
  • 1
    Or maybe they don't want to reinvent the wheel by implementing stuff themselves, after the certain point, it becomes so bloated that you stop caring about performance.
  • 4
    I'm glad I started out from just vanilla JS. Trying to reinvent the wheel was sometimes hard but eventually taught me a lot.
  • 4
    *slaps top of package.json*
    You can fit so many vulnerabilities in this thing!
  • 1
    Also, everything is a dependency, since when is testing-stuff not a dev-dependency?
  • 1
    @tunneler this is a CRA template, only static builds are deployed so it doesnt really matter, everything is a dev environment, only static builds make it to production
Add Comment