--

I dont think jquery was ever replaced by the more modern DOM API, at least not fully.
Cross-browser compatibility, "semantic" API, fn composition, DX in general is why we love jquery.

Same thing with lodash.
Sure we can write our own utils, however an established lib like lodash is not just a pack of functions. It takes care of versioning, documentation, cross-browser compat, etc.

--

--