Open kettanaito opened 6 years ago
Regarding Ramdas ifElse: https://github.com/ramda/ramda/blob/v0.25.0/source/ifElse.js Not sure if it can be made significantly smaler. Also thats only 1.3kb not minified
@Vidlec I've tried replacing Ramda's method with identical one, except those don't have currying, and in average they are at least half smaller the size of the original Ramda methods.
That is, of course, subjective, but I've put it there to be considered.
@Vidlec, after some time I also came to conclusion that micro-optimization is not worth it. I would stick with Ramda's functions.
Proper imports of ramda
(or the usage of babel-pluing-ramda
) reduces the library's bundle size by ~50Kb.
Roadmap
Bundling
Architecture
invariant
from the internal methods