Replies: 1 comment 1 reply
-
Feel free to PR that 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a wizard component, I would like to implement
render
myself. We generally implement full page Livewire components with layout components. This also saves us from somewhat duplicated controllers; as a controller to only launch the wizard is not what I would do.I know I can override
render
and implement what we'd like; but it's not my preferred approach. I don't want to copy over the logic from it. What I would like to propose is to move the logic that fetches state into a dedicated method. Or perhaps even a computed Livewire property. It wouldn't change how things work, but it would make implementing your own render method easier.Another alternative is to make full page steps, but that's a lot of unnecessary dom diffing.
Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions