React v0.14

React, la librería javascript para construir interfaces se actualiza a una nueva versión corrigiendo errores reportados por los usuarios y añadiendo nuevas mejoras. Como sabéis, ReactJS fue liberada por Facebook y ofrece grandes beneficios en performance, modularidad y flexibilidad a la hora de crear apps. Los cambios más críticos según su propio comunicado son:

  • React.initializeTouchEvents is no longer necessary and has been removed completely. Touch events now work automatically.    
  • Add-Ons: Due to the DOM node refs change mentioned above, TestUtils.findAllInRenderedTree and related helpers are no longer able to take a DOM component, only a custom component.
  • The props object is now frozen, so mutating props after creating a component element is no longer supported. In most cases, React.cloneElement should be used instead. This change makes your components easier to reason about and enables the compiler optimizations mentioned above.    
  • Plain objects are no longer supported as React children; arrays should be used instead. You can use the createFragment helper to migrate, which now returns an array.    
  • Add-Ons: classSet has been removed. Use classnames instead.

Puedes encontrar más información sobre esta nueva versión de ReactJS en este enlace.

COMPARTE ESTA NOTICIA

COMPARTIR EN FACEBOOK
COMPARTIR EN TWITTER
COMPARTIR EN LINKEDIN
COMPARTIR EN WHATSAPP
SIGUIENTE NOTICIA