Phoenix forms without changesets!
I recently used Phoenix 1.7’s to_form/2 helper. It works flawlessly with changesets ✨
But we can also use it with bare maps! And it has a nice way to handle errors too 🤩
That allows us to better separate the UI from our domain layer. Check it out! 👇
https://www.elixirstreams.com/tips/phoenix-forms-without-changesets