Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/faddalibrahim/nested-comments-system-react

using recursion to create a nested comments system
https://github.com/faddalibrahim/nested-comments-system-react

Last synced: 6 days ago
JSON representation

using recursion to create a nested comments system

Awesome Lists containing this project

README

        

# React Nested Comment System

[![Read Full Technical Blog Post](banner.svg "Read Full Technical Blog Post")](https://dev.faddalibrahim.com/blog/using-recursion-to-create-nested-comments-system-ft-reactjs)

Replicating social media nested comments systems like reddit.

## In Progress

- Context API to eliminate prop drilling
- Testing with Cypress/RTL

## Links

- [Full Technical Write-up](https://dev.faddalibrahim.com/blog/using-recursion-to-create-nested-comments-system-ft-reactjs)
- [Live Demo](https://react-nested-comments-system.netlify.app/)

## Tools

- [React/Typescript (scaffolded with Vite)](https://vitejs.dev/guide/)
- [Tailwindcss](https://tailwindcss.com/)

## Run

```sh
git clone https://github.com/faddalibrahim/nested-comments-system-react.git
cd nested-comments-system-react
npm i
npm run dev
```

## Demo

![Demo](demo.gif)