Releases: TroyAlford/react-jsx-parser
Releases · TroyAlford/react-jsx-parser
@types/react & @types/react-dom => optionalDependencies
- moved typescript type dependencies to
optionalDependencies
(#164)
autoCloseVoidElements (<hr> and <hr/> both work)
- added
autoCloseVoidElements
prop, allowing HTML-compliant void elements to parse correctly (#163)
Fragments, TS, and peerDependencies
TypeScript Types
Support for IE11
- Add an
es5
build target to output, which fully transpilesacorn-jsx
(#124)
TypeScript, className, and renderUnrecognized
Bugfix for bound functions, eg `value={foo.bar.baz()}`
- Fixes a bug raised in 1.24.0 for multi-layer nested object value functions, like
{foo.bar.baz()}
(#125)
Better Member Expressions, and CJS + UMD builds
Improved key generation for child nodes
- more consistently generate
key
props for child nodes (@timkindberg #120)