Nice post.
Pruthvi Prakasha
11

Yes, that also would work, but I don’t recommend doing so since that runs against React’s philosophy:

“HTML should be a projection of application state, not a source of truth.”

Like what you read? Give Cory House a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.