reactive-banana VS reflex-dom

Compare reactive-banana vs reflex-dom and see what are their differences.


Library for functional reactive programming in Haskell. (by HeinrichApfelmus)


Web applications without callbacks or side-effects. Reflex-DOM brings the power of functional reactive programming (FRP) to the web. Build HTML and other Document Object Model (DOM) data with a pure functional interface. (by reflex-frp)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
reactive-banana reflex-dom
5 3
519 349
- 0.3%
5.2 4.7
3 months ago 12 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of reactive-banana. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-12.
  • Haskell, JS, and WebDev?
    3 projects | /r/haskell | 12 Jan 2023
    As I grew up on a Macintosh, I was always interested in graphical user interfaces. In my free time, I'm currently working on refreshing my reactive-banana library so that it will hopefully work well with the upcoming JavaScript backend. (The library relies on a few non-trivial garbage collector features, which were not implemented in GHCJS a decade ago. Essentially, I ended up with a program that gave different results, depending on whether it was compiled with GHC native or with GHCJS. 😅)
  • Any haskell-like languages with native FRP?
    1 project | /r/haskell | 12 Mar 2022
    Another FRP implementation that I think is quite simple is reactive-banana. Heinrich recently refactored the module hierarchy to stratify it based on low-level, mid-level and high-level abstractions:
  • Applicatives should usually implement Semigroup and Monoid
    1 project | /r/haskell | 4 Mar 2022
    I agree! Having foldMap be available in a monadic context is a big win - here's an example of me asking for it in reactive-banana, along with a motivating example - Library authors, please consider adding these instances - your users will thank you!
  • How to prevent a deadlock in reactive-banana with event-switching? (Exception: thread blocked indefinitely in an MVar operation)
    2 projects | /r/haskell | 1 Aug 2021
    There are some examples that also use event-switching, like , which also seems to use execute. They use <$ though instead of <$>:


Posts with mentions or reviews of reflex-dom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-22.

What are some alternatives?

When comparing reactive-banana and reflex-dom you can also consider the following projects:

DefendTheKing - A simple multiplayer RTS game


rhine - Haskell Functional Reactive Programming framework with type-level clocks

reflex - Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse.

reactive-banana-sdl2 - reactive banana to sdl2 bindings


dunai - Classic FRP, Arrowized FRP, Reactive Programming, and Stream Programming, all via Monadic Stream Functions

AFSM - Arrowized functional state machines

yampa-glut - Yampa adapter for GLUT

reflex-fsnotify - Watch files and directories for changes using a functional-reactive interface!

netwire - FRP library