react-json-tree icon indicating copy to clipboard operation
react-json-tree copied to clipboard

[Feature proposal] Support Blob, File and FileList

Open BrainCrumbz opened this issue 6 years ago • 0 comments

Hi there.

We're using Chrome Redux Dev-Tools Extension (for Angular NgRx apps, actually).

Within an app state at some point we also have a JS Blob and a File objects. Those are always shown as {} in State panel, so even when they change they do not show up at all in the Diff panel. Or at least that's our understanding.

companyLogo: {
  main: {
    current: {
      imageBlob: {}
    ...

From this gaeron answer we got that probably the core of the thing could be here in react-json-tree. And looking at this code that might as well be.

Would you consider a PR trying to extend support to some of those JS types? Of course we could reason about how to best show them, and how to work within code.

Kind regards

BrainCrumbz avatar Apr 06 '18 17:04 BrainCrumbz