Answer the question
In order to leave comments, you need to log in
How to build a render tree?
There are regular comments and there are comments in the form of answers under the comments.
- Some comment
- Some comment
- Some reply comment
- Some Comment.
Reply comments have a parent_id key, and this key is the id of the normal parent comment.
Can you please tell me how to render it?
Answer the question
In order to leave comments, you need to log in
You need to convert the data to a form convenient for drawing. For example like this .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question