top | item 42312481

(no title)

alex_lav | 1 year ago

> I just restarted a personal project on rails because of its batteries included mentality - it means I can limit the number of dependencies

https://github.com/rails/rails/blob/main/Gemfile.lock

Just a playful comment - not challenging your experience

discuss

order

frio|1 year ago

Sure, but the framework cares about that for me. I don’t use rails personally but that’s the whole point — someone upstream of me is paying attention and making everything work together.

In contrast, I have work apps made in React that need regular piecemeal updating — routers, form libraries, query managers, CSS — because we’ve chosen to cobble that together ourselves. That’s fine, that’s the path we chose knowingly when we picked the tech we picked, but the point isn’t that frameworks don’t have dependencies — it’s that they take on more of the burden of managing them for you.

solardev|1 year ago

Well, Next is kinda like that then. It takes care of the sub-dependencies for you and when you upgrade, you just upgrade to the next major Next version (which isn't necessarily easy, but more so than upgrading 100 individual packages). They provide codemods for some stuff too.