1. 23
    Add Update Functionality to an Edit Post Page in Remix
    3m 55s

Add Update Functionality to an Edit Post Page in Remix

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Now we just need to add in the functionality to edit our posts.

We will duplicate createPost since it has most of what we need already and use Prisma to update our post.

We will also add in the conditional for our button to know if we are creating a new post or updating an existing one.