Tag Archives: JavaScript Library

React, JSX and ES6: The Weird Parts

Valid JSX complaints: overuse of element nodes and an ugly API for if statements, doctype, and comments


“I’ve spent a few days working with JSX and React and I have mixed feelings about them. React is pretty neat, but I find that they made some very unusual choices when it comes to their API design. Then there’s JSX, definitely the weirdest aspect of React – we’ll look into it as well. I’ve really enjoyed the ES6 and Babel experience, although I’ve noticed that there’s a learning curve where you start to decide whether using an ES6 feature is better than its ES5 equivalent or not, something we’ll explore towards the end of the article.”

Read more at Pony Foo

ReactiveX – An API for asynchronous programmingwith observable streams

RxJS allows you to create observable streams from DOM Events, XHR, Promises, Node callbacks, Arrays, and Maps


ReactiveX is a combination of the best ideas from the Observer pattern, the Iterator pattern, and functional programming.

ReactiveX is more than an API, it’s an idea and a breakthrough in programming. It has inspired several other APIs, frameworks, and even programming languages.

View the RxJS docs on Github or checkout the main ReactiveX web site, reactivex.io

jQuery 3.0 and jQuery Compat 3.0 Alpha Versions Released

Is jQuery still relevant? This 3.0 release drops support for edge cases and makes deferreds Promises/A+ compatible


t’s been a long time since we did a major release, and you certainly deserve one. So we’re glad to announce the first alpha of jQuery 3.0!

Despite the 3.0 version number, we anticipate that these releases shouldn’t be too much trouble when it comes to upgrading existing code. Yes, there are a few breaking changes that justified the major version bump, but we’re hopeful these breakages don’t actually affect that many people. The jQuery Migrate plugin can help you to identify compatibility issues in your code as well. Your feedback on the changes in this alpha will help us greatly, so please try it out on your existing code and plugins!

There are actually two releases here. First is jQuery 3.0, which supports modern browsers and environments from IE9 forward. Second is jQuery Compat 3.0, which includes support for IE8.

Read more from the source: blog.jquery.com

Velocity.js: A fast animation engine with jQuery’s animate API plus built-in support for color animation, easing, scrolling and CSS3 animation

Try out the animation demos for Velocity.js and you’ll immediately see why it is better than jQuery animate


Download Velocity, include it on your page, and replace all instances of jQuery’s $.animate() with $.velocity(). You will immediately see a performance boost across all browsers and devices — especially on mobile.

The Secret Sauce. Although Velocity works alongside jQuery, it uses its own animation stack that delivers its performance through two underlying principles: 1) synchronize the DOM → tween stack to minimize layout thrashing, and 2) cache values to minimize DOM querying.

Read more at julian.com

James Shore gives a thumbs up to React JS, but not for the reasons you might expect

React JS is not accidentally opinionated. It is quite testable. It is SEO compatible. You should use it.


James Shore is host of the screencast Let’s Code: Test-Driven JavaScript. He gives an excellent breakdown on choosing React.

An Unconventional Review of React | Let’s Code JavaScript

Over the 5-10+ years I’ll be supporting my product, will this code cause me more trouble than it’s worth?

It’s not about how much work the library saves me in initial implementation. Oh, no. That’s trivial in comparison. No, it’s about much maintenance it costs me over the life of my app.

I have five criteria I consider.

Read more from the source: letscodejavascript.com

Say what? YUI library has been discontinued.

9-year veteran YUI is discontinued “in order to focus our efforts on this new technology landscape”


Basically due to lack of attention internally and usage by developers externally forced Yahoo to make a tough decision–move forward without a strong community or officially close shop.

This long-winded sometimes-rambling announcement was made Aug 29th, 2014 by Julien Lecomte, Director of Engineering, Yahoo Presentation Technologies.

YUI has some really good widgets that have been hard to rival including their calendar widget. They were also the first to have a JSON parse/stringify that was fully spec compliant.

I use YUI docs and will continue to do so. And maybe some of their other good stuff.

Read more from the source: Yahoo Engineering