- Replace
<your_account>
with your Github username in the DEMO LINK - Follow the React task guideline
Implement an application with 5 components PostList
, PostInfo
, UserInfo
,
CommentList
and CommentInfo
displaying posts with comments and user details.
- Create a
preparedPosts
array in the App with eachpost
having a link to auser
andcomments
array. And pass it to thePostList
- The
PostInfo
accepts apost
object (withuser
andcomments
properties added before) and renders atitle
, abody
, aUserInfo
and aCommentList
- The
UserInfo
accepts auser
object and renders at least aname
and anemail
- The
CommentInfo
should show aname
, abody
and anemail