This repository has been archived by the owner on May 14, 2020. It is now read-only.
Releases: alexkuz/react-json-tree
Releases · alexkuz/react-json-tree
v0.6.5
v0.6.4
v0.6.2
v0.6.1
v0.6.0
Non-Breaking Changes
(there's a lot of changes, I'm sorry for that, it probably shouldn't be in one PR)
- If
Object
,Array
orIterable
has more thancollectionLimit
entries (50
by default), onlycollectionLimit
entries are shown, the rest are grouped recursively (so than not more thancollectionLimit
groups are shown). IfcollectionLimit = 0
, all items are shown.
Example screencast (as a part of redux-devtools-inspector):
- Added prop
postprocessValue(value)
(identity
by default): allows to replace value on rendering. Useful for huge collections, as there is no need to traverse all entries, just the ones that are rendered. - Added prop
isCustomNode(value)
(returnsfalse
by default): if returnstrue
, item is rendered viaJSONValueNode
, which allows to render custom component for any type of item (not just literals). Should be used withvalueRenderer
. - Objects with circular references are never expanded by default, even with
expandAll = true
.