Package Exports
- @concordance/react
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@concordance/react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@concordance/react
React plugin for Concordance.
Allows
React.createElement()
objects to be compared, formatted, diffed and serialized. Also supports
toJSON() renderings of
react-test-renderer.
These may be compared to React.createElement() objects.
When comparing React component elements, the element type is compared by identity. After deserialization the element types are compared by function name.
Component elements are formatted with a ⍟ character after the element name. Properties and children are formatted by Concordance.