Fork me on GitHub
#hoplon
<
2024-05-22
>
campeterson20:05:50

Are there any good examples of showing/hiding different pages? (I know it's supposed to be a single-page app)

campeterson21:05:14

I'm struggling to come up with a good model for how to show and hide different pages/panels, based on state. Should I use defelems as the pages?

mynomoto11:05:58

I don't think you should use defelem as pages even if you could. defelem is mainly to create other components that have the same way of passing arguments as the pre existing ones. I use common functions as pages and defelem for custom elements.

👍 1
campeterson14:05:11

okay, that makes sense. Thank you again for the help