Extract a React View Component From a CommentQuery Component

InstructorIan Jones

Share this video with your friends

Send Tweet

Generally, you want to keep your view components separate from components that fetch data.

In this lesson, we extract the view portion from our Comments component. Into another component so that we can use the same view later in the course with two separate ways of fetching comments.