You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2020. It is now read-only.
The getChildNodes function does not consider if the object of type immutable and breaks the detection in obj-type.js. An easy fix would be an if objType(value) === 'Iterable' somewhere in that function but I haven't submitted a PR because I have a feeling you'd want it done a bit more carefully.
The text was updated successfully, but these errors were encountered:
leonaves
changed the title
Does not correctly handle immutable objects when hideRoot is true
Does not correctly handle immutable objects when hideRoot is false
Feb 26, 2016
Issue is here: https://github.com/chibicode/react-json-tree/blob/master/src/index.js#L81-L105
The getChildNodes function does not consider if the object of type immutable and breaks the detection in obj-type.js. An easy fix would be an
if objType(value) === 'Iterable'
somewhere in that function but I haven't submitted a PR because I have a feeling you'd want it done a bit more carefully.The text was updated successfully, but these errors were encountered: