Download Latest Version v0.6.5 source code.zip (25.7 kB)
Email in envelope

Get an email when there's a new version of react-json-tree

Home / v0.6.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2016-03-07 1.2 kB
v0.6.0 source code.tar.gz 2016-03-07 12.9 kB
v0.6.0 source code.zip 2016-03-07 25.5 kB
Totals: 3 Items   39.6 kB 0

Non-Breaking Changes

(From [#35] - thanks @alexkuz)

(there's a lot of changes, I'm sorry for that, it probably shouldn't be in one PR) - If Object, Array or Iterable has more than collectionLimit entries (50 by default), only collectionLimit entries are shown, the rest are grouped recursively (so than not more than collectionLimit groups are shown). If collectionLimit = 0, all items are shown.

Example screencast (as a part of redux-devtools-inspector):

json - 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) (returns false by default): if returns true, item is rendered via JSONValueNode, which allows to render custom component for any type of item (not just literals). Should be used with valueRenderer. - Objects with circular references are never expanded by default, even with expandAll = true.

Source: README.md, updated 2016-03-07