Writing presentational components

We are now going back to our example from the previous chapter, where we built a way to create and edit posts with Redux, as well as setting a filter. We are going to need the following presentational components:

Post component: To display a post

PostList component: To display a list of posts

For this example, you can use the existing Redux code from chapter2_4.zip. We are going to replace the current render function with React components.