yarn react-refresh 0.10.0

latest releases: 0.0.0-experimental-577f2de46-20220320, 0.11.0-rc.2-next-577f2de46-20220320, 0.0.0-experimental-645ec5d6f-20220317...
3 years ago

React Core

New Features

  • Added warnings to help migrate towards descriptors
  • Made it possible to server render without React-related markup (data-reactid, data-react-checksum). This DOM will not be mountable by React. Read the docs for React.renderComponentToStaticMarkup
  • Added support for more attributes:
    • srcSet for <img> to specify images at different pixel ratios
    • textAnchor for SVG

Bug Fixes

  • Ensure all void elements don’t insert a closing tag into the markup.
  • Ensure className={false} behaves consistently
  • Ensure this.refs is defined, even if no refs are specified.

Addons

react-tools

  • Added an option argument to transform function. The only option supported is harmony, which behaves the same as jsx --harmony on the command line. This uses the ES6 transforms from jstransform.

Don't miss a new react-refresh release

NewReleases is sending notifications on new releases.