Every single compoennt will responsible for one thing and deligate other things to another component eg Home page Rendering the home page and render its components eg.Postfeed responsible for post state and fetching post pass the posts to another component Responsibke for container styles
Postfeed component Responsible for taking a list of posts and rendering them as PostCards Responsible for passing the post prop to PostCard compoennt Responsible for its inner styles
PostCard component Responsible for rendering a post Responsible for styling a post