0

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?

bjenkins001
  • 141
  • 1
  • 9

1 Answers1

0

Sounds like React.renderToStaticMarkup() is what you're looking for.

Golly
  • 1,319
  • 8
  • 18