Documenting LiveView events and such

When working with large LV pages, containing multiple components talking to parent and themselves, tracking events become a hassle. You can easily get lost there.

How do people do it? How do people organize their LV? What are some best practices?

Do people document these kind of things? Is there a tool (specific, or a general tool that can be used) to somehow document it?

I know it’s a vague question, but I want to know other’s opinions.

1 Like

Just like any other code, credo can point out too big functions or modules that need refactoring
also with 0.17 the on_mount callbacks can simplify things, if you regroup similar kind of events in separate modules.