Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Chase McCoy
(Uncensored)
subscribe
Creating a useTextContent hook
https://chsmc.org/2019/09/use-text-content-hook/
links
backlinks
In JavaScript, you can use the textContent property of a node to get the text representation of the node and all of its descendent nodes. For instance, if your node looked like this: