This project was developed to extract string from React.ReactNode
object.
$ npm install react-node-to-string --save
import { ReactNode } from "react"
import reactNodeToString from "react-node-to-string"
const node: ReactNode = (
<p>
<strong>lorem</strong>ipsum
</p>
)
console.log(reactNodeToString(node))
// loremipsum
MIT