Create a Quick Prototype in Vue — Part 3

In the previous step, we created the UserList component. In this step, we’ll add a component that allows you to view and edit the details of a user. We’ll also see one of the pitfalls that many people run into when learning Vue, which is that you should never mutate a prop.

Add this component, just after the UserList component: