Coder Social home page Coder Social logo

Comments (6)

dtothefp avatar dtothefp commented on August 29, 2024

@colindresj is this a thing or not?

from nuclear-js.

colindresj avatar colindresj commented on August 29, 2024

@dtothefp I'd like it to be. Would be willing to submit a PR, but wanted to post an issue beforehand to get feedback, since it is a potentially impacting change.

from nuclear-js.

dshimkoski avatar dshimkoski commented on August 29, 2024

It would be great to get rid of such a large dependency.

Modularized lodash is a thing: https://www.npmjs.com/browse/keyword/lodash-modularized

from nuclear-js.

colindresj avatar colindresj commented on August 29, 2024

Agree @dshimkoski. Again, my preference would be to just make lodash an optional dependency, but if that doesn't seem realistic, then the individual lodash modules would help cut things down quit a bit.

My main thought with all this is that because lodash is such a heavy dependency, when using nuclear, you're almost forced into lodash for utilities, instead of other options that exist and maybe suit a particular person's project (or preference) better.

If a lot of lodash was being used throughout, this would be a non-issue, however since only a handful of functions are being used, it's kind of a shame to have to drag all of lodash along.

What's your opinion @jordangarcia?

from nuclear-js.

jordangarcia avatar jordangarcia commented on August 29, 2024

Hey Colin

I still the intention of removing lodash as a hard dependency of NuclearJS. The way the codebase is structured the utils files is a facade over lodash and the methods being used can eventually be replaced with plain javascript reimplementations.

If anyone is interested in doing this I will gladly accept PRs

from nuclear-js.

colindresj avatar colindresj commented on August 29, 2024

Working on a PR, should be up soon

from nuclear-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.