Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

v0.6.0

Compare
Choose a tag to compare
@chibicode chibicode released this 08 Mar 00:00
· 89 commits to master since this release

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.