Open utterances-bot opened 3 years ago
This is what a comment looks like and this is all managed inside of a GitHub repository I control and can manage easily.
This is really easy cool stuff!
I can also comment right on GitHub!
rootElm.current!.appendChild(utterances);
The appendChild
seems to provide the following error:
"Property 'appendChild' does not exist on type 'unknown'.ts(2339)"
Any suggestions to get it to work?
I got it to work using:
React.createRef<HTMLDivElement>();
Instead of:
React.createRef();
Comments using utterances - Chris Sprance's Portfolio
Personal portfolio for Chris Sprance. A digital artist and developer.
https://csprance.com/blog/comments-using-utterances