@hackage reflex-dom-core0.8.0.0

Functional Reactive Web Apps with Reflex

  • Installation

  • Dependencies (39)

  • Dependents (11)

    @hackage/servant-reflex, @hackage/reflex-gadt-api, @hackage/reflex-dom-helpers, @hackage/reflex-dom-th, @hackage/neuron, @hackage/reflex-dom-pandoc, Show all…
  • Package Flags

      use-template-haskell
       (on by default)

      Use template haskell to generate lenses

      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

      profile-reflex
       (off by default)

      Add a layer of profiling to all Reflex events in the system

      split-these
       (on by default)

      Use split these/semialign packages

      hydration-tests
       (on by default)

      Whether to run the hydration tests (currently only available on linux)

      gc-tests
       (on by default)

      Whether to run the gc tests (currently only available on linux)

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.