3rd party libraries

Yeah. Let’s be more a part of the ecosystem. Avoid reinventing the wheel and contribute back to useful packages.

And my thoughts on some of those that were mentioned:

  • jQuery - we probably shouldn’t use it internally, it’s pretty slow for DOM stuff. I’m also not sure where we’d use it… most of the DOMRenderer stuff will hold it’s own reference to the node and change properties directly. What did you have in mind for it?

  • lodash/underscore - definitely, there are a lot of essential functions here we shouldn’t try do ourselves (except in some component stuff). Lodash is known for being smaller and much more performant than underscore.

  • Three.js - I think we spoke about this elsewhere, that we’re all keen to use it for 3D stuff but it should be part of an optional plugin?

I edited your post and added HammerJS, which I also mentioned (for discussion) in Eventing System.

2 Likes