Only key upgrade points are written here. To view the change log, please visit the release page
- Support for react-router v4
- v3 is still available as a render option
- v4 is not backward compatible due to how react-router has changed.
jsx-render-engine
is also available as a separate package published from this repositoryjsx-render-engine
strategy folder has changed to reflect the actual package name
- Support for other rendering strategies (Preact, React Router)
- Deprecated
noConflict
andpropKeys
in favor oftemplateKey
andprops
- The
html
option has been dropped. In replacementextensions
has been defaulted to.html
. propKeys
option has been tweaked.- It now accepts an array of keys to pick
- Giving a string key would return
{key: value}
instead of just thevalue
.
- Support for React 15 is implicit. i.e. No change in code base. Which explains the patch version bump.
- Babel and react are now peer dependencies
- For
babel 6
, additional plugin packages are needed for it to run properly
- From this version, this plugin will only use
babel
as it's transpiler asreact-tools
will be deprecated from0.14
onwards. Read more about this at React's blog: Deprecating JSTransform and react-tools