Open jerbaroo opened 5 months ago
One way would be to filter the Poll (Maybe String)
in the parent into a Poll (String)
. However that would simply result in any Nothing
s causing foo
to render the last Just String
in the stream of Maybe
s.
I am more interested in, given Foo
, how we can acquire something of the lines of Poll (Maybe String) -> AppM
. Thanks.
I'll come up with an example in a few days, thanks for asking this!
Sorry, getting back to this now (it's been a crazy few months, I'm only now getting back to Deku). Rereading this, I don't quite understand the example. Could you give me a bit more context (if it's still relevant)?
How to use this component
foo
in a parent that has aPoll (Maybe String)
?