Remove boolean values from non-boolean attributes
Remove boolean values from non-boolean attributes

React 16 warns and ignores boolean values in non-boolean
attributes. React 15 converted these to strings and passed
through. Replacing logical operators with ternary in attributes
removes the warning.

https://github.com/alexkuz/react-json-tree/issues/94
https://facebook.github.io/react/blog/2017/09/08/dom-attributes-in-react-16.html

philpl/react-live