I've got an existing HTML page that I have transcribed into scalajs-react scalatags in a ReactComponentB object, but the output is slightly different from the original HTML. Is there a way I can render out the HTML from the ReactComponentB so that I can compare it with my original HTML?
Is it possible to render HTML from a ReactComponentB?
176 views Asked by bjenkins001 At
1
Sounds like
React.renderToStaticMarkup()is what you're looking for.