Best way to get a react component's raw code? - Theo's Typesafe Cult