I think it's time to check out a jquery alternative. My recent projects are basically only using deep copies and some semi-complex selectors. lodash + querySelector should cover pretty much everything at this point.
Lodash 4.0.0 is out
41–50 of 102 posts
Re: Lodash 4.0.0 is out
#42Earlier quoted context omitted.
Lodash dropped bower support in favor of npm because "16% use bower vs. 76% npm for AMD packages": https://twitter.com/jdalton/status/677323442488672257
...according to a twitter poll on a personal account :P I avoid bower wherever possible, but removing support does smell a bit like an activist move. There may be more to the story, though.
Re: Lodash 4.0.0 is out
#43Re: Lodash 4.0.0 is out
#44Earlier quoted context omitted.
I've seen projects that use jQuery just for the selector part, nothing else is used. Selectors are a core strength of jQuery. With document.querySelector, I wouldn't even include jQuery in a new project. `window.addEventListener` isn't much different than .on
It's used out of convenience, and avoiding errors. jQuery selectors are stupidly simple to do complex stuff with. I just wish they had a jQuery.selector distribution.
Re: Lodash 4.0.0 is out
#45I think it's time to check out a jquery alternative. My recent projects are basically only using deep copies and some semi-complex selectors. lodash + querySelector should cover pretty much everything at this point.
I've seen projects that use jQuery just for the selector part, nothing else is used. Selectors are a core strength of jQuery. With document.querySelector, I wouldn't even include jQuery in a new project. `window.addEventListener` isn't much different than .on
Re: Lodash 4.0.0 is out
#46Earlier quoted context omitted.
If more major libraries drop support for bower, it might (hopefully) die soon. What does bower do better than NPM?
JSPM! It works a lot like NPM but is specifically intended for use with front-end modules. Features: - uses System.js (a polyfill for the future ES6-module-loader spec - supports CommonJS, AMD, and UMD formats - has plugins for importing other types (ex css) - support Typescript/Traceur/Babel out of the box - uses a flat dependency structure (ie like NPM v3) - can generate bundles and self-executing bundles (incl tre…
Re: Lodash 4.0.0 is out
#47I think it's time to check out a jquery alternative. My recent projects are basically only using deep copies and some semi-complex selectors. lodash + querySelector should cover pretty much everything at this point.
Not to be forgotten is d3, which in addition to selectors allows you to very easily bind data to the DOM. And with the big 4.0 refactor that is underway, you can very easily pull in the selection[1] stuff only. [1] https://github.com/d3/d3-selection
Re: Lodash 4.0.0 is out
#48Re: Lodash 4.0.0 is out
#49Earlier quoted context omitted.
JSPM! It works a lot like NPM but is specifically intended for use with front-end modules. Features: - uses System.js (a polyfill for the future ES6-module-loader spec - supports CommonJS, AMD, and UMD formats - has plugins for importing other types (ex css) - support Typescript/Traceur/Babel out of the box - uses a flat dependency structure (ie like NPM v3) - can generate bundles and self-executing bundles (incl tre…
Personally I'll stick with RPM for all my JS packaging needs.
Re: Lodash 4.0.0 is out
#50Earlier quoted context omitted.
JSPM! It works a lot like NPM but is specifically intended for use with front-end modules. Features: - uses System.js (a polyfill for the future ES6-module-loader spec - supports CommonJS, AMD, and UMD formats - has plugins for importing other types (ex css) - support Typescript/Traceur/Babel out of the box - uses a flat dependency structure (ie like NPM v3) - can generate bundles and self-executing bundles (incl tre…
Personally I'll stick with RPM for all my JS packaging needs.