r/purescript • • Apr 03 '20

purescript-flame: cool & well documented alternative Elm like frontend framework

GitHub | Documentation website

Hello everyone! I shamelessly took purescript-hedwig and added more features to make a complete Elm like frontend framework. Including:

  • Different ways to handle application events
  • Server side rendering (a la React hydration)
  • Signals for arbitrary custom events
  • Some convenience type classes and functions for the DSL markup

Following the links above, there are plenty of examples and documentation. There is still need of a few polishing touches (like adding benchmarks), but overall it is stable and I am quite happy using it on my own projects (e.g. here).

46 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/untrff Apr 05 '20

Thanks for the discussion, and exploring the design space! Yes, I agree that something like returning a Tuple model (Aff Unit) from the user’s update function, plus the ability to inject just a message from the Aff effects, looks like a sane resolution.