Building a Real-Time Commenting System in React [Part 1/3]

Originally published on my blog. Medium’s code blocks are pretty bad, so I suggest you read this on my blog if you need to read and/or copy code.

One of my latest projects is an entire blog built with Next.js, a framework based on React. One of the features I wanted was a commenting system, but none of those already available were interesting for me and I wanted full control on the features and the data. Because of that, I decided to create my own commenting system. This article is meant to show the process of creating it and…