Releases: TroyAlford/react-jsx-parser
Releases · TroyAlford/react-jsx-parser
Simple method calls, ** & % operators
- Support simple methods like
array.includes()
(@timkindberg #106) - Support for operators ** and %
Ternaries, Fallbacks, and Dependency Updates
- updated all dependencies, including migrating to
acorn@7+
andacorn-jsx@5+
- fixed a minor bug with rendering results of boolean comparisons (@timkindberg #104)
- added fallback rendering for
error
states (@knsv #102)
Automatic Key Generation + Unrecognized symbols errors
- added
disableKeyGeneration
prop (@jeffmwells #73, #90, #96) - added error reporting for unrecognized symbols (@LeviSchuck #92)
!=, !==, and non-random keys
- disabled automatically generating random
key
props (@jeffmwells #90, #73) - added support for
!=
and!==
error handling, bound expression calls, ==, ===
Bugfix for whitespace between elements
- Fixes a subtle error with rendering whitespace between inline elements.
&&, || and ternary parsing
falsy JsxText renders correctly (honoring 0)
- JSX like
<p>{0}</p>
should output<p>0</p>
instead of<p></p>
(#83)
Spread Operator support for props binding!
- Added support for
<Component {...props} />
syntax (@tschicke-brown #82)
Security updates, dependencies, and tooling
- Resolved vulnerabilities in several dependencies
- Updated dependencies
- Migrated to CircleCI v2