react-json-view
react-json-view copied to clipboard
problems with inputRef
when opening edit panel, for the first time, int the console appears error:
Warning: React does not recognize the inputRef
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase inputref
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
as you can see, problem is with camel-case.
Except that error, lib works fine
This is a known issue: https://github.com/mac-s-g/react-json-view/search?q=inputRef&type=issues
But unfortunately this project isn't maintained anymore... I suggest switching to its fork: https://github.com/TexteaInc/json-viewer