plaster icon indicating copy to clipboard operation
plaster copied to clipboard

Any examples?

Open Boscop opened this issue 6 years ago • 0 comments

Hi, I'm very interested in an async alternative to Yew, because in my experience Yew requires a huge amount of Msg cases and continuation hacks, similar to Elm. I think the gold standard of convenience when it comes to frontend frameworks is purescript-halogen, e.g. you can do ajax calls inline: https://github.com/slamdata/purescript-halogen/blob/76f80d6b059a0c29bfe75f4d756bc988a2f3bc5d/examples/effects-aff-ajax/src/Component.purs#L76 And you can query child components inline as well, and they can respond with a return value. So it's like calling methods on children that can return a value. And children can raise an event message to their parent, no need for the parent to pass down callbacks as properties (as with Yew). I'd be interested in porting Halogen to Rust but my spare time is very limited.. But maybe we can exchange ideas..

Btw, do you have any examples how plaster is used? It seems like all the examples are still from the Yew repo?

Boscop avatar Sep 13 '19 01:09 Boscop