PurpleKingdomGames / tyrian

Elm-inspired Scala UI library.
https://tyrian.indigoengine.io/
MIT License
346 stars 26 forks source link

documentation missing on how to compose tyrian modules #253

Open esarbe opened 7 months ago

esarbe commented 7 months ago

I'm missing some documentation on how to compose and nest tyrian components.

Is this even possible?

davesmith00000 commented 7 months ago

Hi @esarbe - this is a common issue that, you're quite right, I need to do something about!

Here is an example of how to Scale the Elm architecture into components:

https://github.com/PurpleKingdomGames/tyrian/blob/main/examples/subcomponents/src/main/scala/example/Main.scala

Hope that helps!