1.2
- Basic source map support. Source maps will now be available when accessing .jsx files directly. It's not supported for combined/minified files at the moment since none of the common .NET minifiers support source maps. (#8)
- React version upgraded from 0.12.0 to 0.12.1.
Server-side rendering:
- The HTML tag used as the component's container can now be changed. Previously it was hardcoded to be a
div
. (#45) - The ID of the container element can now be changed. Previously it was always an auto-generated ID in the format "react1", "react2", etc. (#50)
- New
Html.ReactWithInit
helper method to render both the HTML component and its client-side JavaScript initialisation script. This is useful when rendering self-contained partial views containing React components. Thanks to BartAdv. (#42)
Under the hood: