In my server.js, I have a listener using tmi.js that gets the comments from a twitch channel, and I want to create a new DOM element everytime a new comment appears to display it on the page.
What is the best approach for this? I’ve been trying EJS but I don’t think that is possible using it.
Thanks in advance.