Stats
Adds stats to document.body. It takes over the render-loop!
<Stats
  showPanel={0} // Start-up panel (default=0)
  className="stats" // Optional className to add to the stats container dom element
  {...props} // All stats.js props are valid
/>
You can choose to mount Stats to a different DOM Element - for example, for custom styling:
const node = useRef(document.createElement('div'))
useEffect(() => {
  node.current.id = 'test'
  document.body.appendChild(node.current)
  return () => document.body.removeChild(node.current)
}, [])
return <Stats parent={parent} />