Readit News logoReadit News
johnjames4214 commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
fcpguru · 2 months ago
yeah tell shopify, it's their api!
johnjames4214 · 2 months ago
Exactly. If it's that verbose and painful for a public API like Shopify/GitHub (where the 'flexibility' argument is strongest), it makes even less sense for internal enterprise apps.

We are paying that same complexity tax you described, but without the benefit of needing to support thousands of unknown 3rd-party developers.

johnjames4214 commented on Cleaning house in Nx monorepo, how i removed unused deps safely   johnjames.blog/posts/clea... · Posted by u/birdculture
aitchnyu · 4 months ago
Can this also detect low-hanging fruit like say, 5 instances where we can add some code and give up Lodash?
johnjames4214 · 4 months ago
yeah you can definitely point it at lodash (or any utility lib) and it’ll surface spots where it’s imported but never really used. but for “we could just rewrite this tiny helper ourselves” type stuff, knip won’t judge code quality. it’s more about flagging dead deps/files than saying “ditch lodash.” that call still needs a human.
johnjames4214 commented on Cleaning house in Nx monorepo, how i removed unused deps safely   johnjames.blog/posts/clea... · Posted by u/birdculture
juujian · 4 months ago
Not supposed to be a judgemental question. Not every repo has to be a labor of love for sure. But how do you get to that place where there are 120 unused dependencies? I'm sure there are many different pathways where things get a bit out of control. People doing the equivalent of pip freeze? Or (too) many cooks?
johnjames4214 · 4 months ago
in a decade+ old fintech monorepo w/ microfrontends + BFFs + mixed stacks/design systems (react, angular, express, apollo, chakra, tw) the cruft builds up fast.

every time we migrate stuff (like the recent shift to next.js), old apps/libs don’t always get cleaned out. after years and years it’s an npm landfill. knip was basically the bulldozer.

u/johnjames4214

KarmaCake day97September 29, 2025View Original