I want to allow users to comment on a post and reply to comments (one level deep). What's a simple state model?
Use a flat array grouped by parentId for comments and render replies by filtering where parentId === comment.id.
Keep it simple: store comments in local state with a structure { id, content, parentId }. Render two passes.