Answer the question
In order to leave comments, you need to log in
How to display a nested list of comments?
Hello, please tell me, the server returns an array of comment objects to me,
This is how it looks like:
Each comment can have other comments, that is, the nesting depth is not known, nested comments are in the children property, and the question itself is how to display such a list ? I think that I need to somehow recursively draw a conclusion?
Thank you in advance for your response
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question