epicweb-dev / web-forms

Learn the primary mechanism for interactivity on the web.
https://www.epicweb.dev/workshops/professional-web-forms
Other
199 stars 61 forks source link

Complex Structures module got outdated after conform changes #44

Closed ntoniocp closed 6 months ago

ntoniocp commented 6 months ago

Hey 👋, as requested via Discord, I'm creating the issue to keep track of this.

The complex structures module, where we go through how to manage nested objects and lists in our forms using conform, seems outdated now. Previously, he had changed some links in other modules because of conform's docs updates, but it seems like the API got changed, too.

The hooks useFieldset and useFieldList are no longer part of the API, and the list util has been moved too.

It's important to note that the lesson can still be completed using the instructions and the provided code. However, the material does not match the current version of Conform.

Here's the list of version differences, found in conform docs

kentcdodds commented 6 months ago

Thanks! I'm hopeful to loop back around to all the videos to update everything in the coming months. Until then, a reference to my upgrade video will hopefully serve helpful! https://www.epicweb.dev/tips/upgrade-to-conform-v1

ntoniocp commented 6 months ago

Thank you Kent, sounds great