About

Metadata

  • Last updated , by alexfmpe
  • License BSD-3-Clause
  • Categories FRP, Web Development, GUI
  • Maintained by: ryan.trinkle@gmail.com

  • Lottery factor: 5

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    use-warp (off by default)

    Use jsaddle-warp server

    webkit2gtk (on by default)

    Use WebKit2 version of WebKitGTK.

    use-reflex-optimizer (off by default)

    Use the GHC plugin Reflex.Optimizer on some of the modules in the package. This is still experimental.

    expose-all-unfoldings (off by default)

    Build the library with -fexpose-all-unfoldings which can help client code specialize better

    build-examples (off by default)

    Build the executables in ./examples

Readme

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.

Reflex-DOM is a Functional Reactive web framework based on the Reflex FRP engine: https://reflex-frp.org/.

The reflex-dom package is a small wrapper around the reflex-dom-core package. It pulls in the correct set of dependencies for each target platform (GHCJS, WebKitGTK, WASM, mobile, etc.). Libraries should depend on reflex-dom-core and executables will usually depend on reflex-dom. All of reflex-dom-core's modules are re-exported by reflex-dom.

For Hackage documentation, please see: https://hackage.haskell.org/package/reflex-dom-core.