Some thoughts on purescript-flare

I really like the thought of creating UI through Applicatives. What are its limitations ? Can it be used for making a full website ?

Applicatives have a static structure. If the applicative structure represents your UI, then this means that your UI structure can’t change based on data flow. For example, this means you can’t represents things like tabs which conditionally renders one UI or the other based on user input. You can potentially implement it as a primitive, or add richer structure like Selective/Arrow/Monad, but you can’t represent it with Applicative logic alone.

I think the model that has the most similar feel without the Applicative limitation would be Concur.

3 Likes

Thank you. Good know.

1 Like