4 ms·
The one thing that YUI does better than any other library is isolation. You can have multiple versions of YUI in the same page, each sandboxed against each othe
by jdelic 12y ago
The one thing that YUI does better than any other library is isolation. You can have multiple versions of YUI in the same page, each sandboxed against each other. That means that if you deliver JavaScript for other developers to include in their pages, YUI is an awesome framework or even the only real option. Thanks to YUI Loader it's even self-repairing. jQuery's noConflict is a far cry from that.
Can any if the other libraries mentioned here (especially the newer ones like React and EmberJS) provide the same thing?
When I read threads like this and I see pages like polygon.com that pull in tens if not hundreds of external JavaScript resources, I always think that the YUI sandbox model is still 5 years ahead of the status quo in other libraries.
Again, does anyone know here of alternatives for sandboxing?
- ec109685 12y agoThe problem with that was that performance sucked when there were too many sandboxes, so the first thing teams did was combine into one yui instance, defeating the purpose.