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
.