1. 22
    Populate Remix Edit Form with Existing Post Data
    1m 38s

Populate Remix Edit Form with Existing Post Data

Kent C. Dodds
InstructorKent C. Dodds

Share this video with your friends

Send Tweet
Published 3 months ago
Updated 3 months ago

Now that we have our data from our posts, we need to populate out our form with it in order to be able to properly edit the data.

By using our getPost utility to get our posts and send that along to our json. We use useLoaderData to get our data and use that to set the key on our Form.