- How do you implement multi-step forms in LiveView? I have a LV that coordinates its "step" live components (and they may or may not have their own live sub components) and I find this setup quite complex. As always, handling state is the tricky part. #ElixirLang #PhoenixFramework #LiveView 👇🏻
- *Some* state from a step needs to be passed to the next step, and then the user may want to go back and make changes and go forward again. What's your strategy in cases like this? 👇🏻
- I also need to deal with async processes and report progress in the UI, when a sub-sub-component triggers it, the parent LV receives an update and it has to route it back to the sub-sub-component, which is messy for my taste. So, some question - what's your approach? 🤔
- Short answer: You apply form changes whenever the user navigates to the next step and create a new form that has the changes as "base". Long answer: I just made this lesson from my form video course free to watch. Hope it helps! indiecourses.com/catalog/buil...
- Dude, seriously ❤️ You coming to Kraków next month?
- yes sir!
- Fantastic :) Looking forward to meeting you in the real world. We should hang out 🙂
- 100%! I haven’t book my flight yet but will let you know once my itinerary is definiteApr 25, 2025 09:22