reflex-dom-core: Functional Reactive Web Apps with Reflex

[ bsd3, frp, gui, html, javascript, library, reactive, reactivity, user-interface, user-interfaces, web ] [ Propose Tags ]

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.

Flags

Manual Flags

NameDescriptionDefault
use-template-haskell

Use template haskell to generate lenses

Enabled
use-reflex-optimizer

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

Disabled
expose-all-unfoldings

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

Disabled
profile-reflex

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

Disabled
hydration-tests

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

Enabled
gc-tests

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

Enabled
Automatic Flags
NameDescriptionDefault
split-these

Use split these/semialign packages

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.4, 0.5, 0.5.2.0, 0.5.3, 0.6.0.0, 0.6.1.0, 0.6.2.0, 0.6.2.1, 0.6.3.0, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.0.3, 0.8.0.0, 0.8.1.0
Change log ChangeLog.md
Dependencies aeson (>=0.8 && <2.2), base (>=4.7 && <4.15), bifunctors (>=4.2 && <6), bimap (>=0.3 && <0.5), blaze-builder (>=0.4.1 && <0.5), bytestring (>=0.10 && <0.11), case-insensitive (<1.3), commutative-semigroups (>=0.1 && <0.2), constraints (>=0.9 && <0.14), containers (>=0.6 && <0.7), contravariant (>=1.4 && <1.6), data-default (>=0.5 && <0.8), dependent-map (>=0.3 && <0.5), dependent-sum (>=0.6 && <0.8), dependent-sum-template (>=0.1 && <0.2), directory (>=1.2 && <1.4), exception-transformers (>=0.4 && <0.5), ghcjs-base, ghcjs-dom (>=0.9.1.0 && <0.10), hashable (>=1.2 && <1.4), jsaddle (>=0.9.0.0 && <0.10), keycode (>=0.2.1 && <0.3), lens (>=4.7 && <5.3), monad-control (>=1.0.1 && <1.1), mtl (>=2.1 && <2.3), network-uri (>=2.6.1 && <2.7), primitive (>=0.5 && <0.8), random (>=1.1 && <1.3), ref-tf (>=0.4 && <0.6), reflex (>=0.8.2.1 && <1), semialign (>=1 && <1.3), semigroups (>=0.16 && <0.20), stm (>=2.4 && <2.6), template-haskell (>=2.12.0 && <2.17), text (>=1.2 && <1.3), these (>=0.4 && <0.9 || >=1 && <1.3), transformers (>=0.3 && <0.6), unix (>=2.7 && <2.8), zenc (>=0.1 && <0.2) [details]
License BSD-3-Clause
Author Ryan Trinkle
Maintainer ryan.trinkle@gmail.com
Category FRP, Web, GUI, HTML, Javascript, Reactive, Reactivity, User Interfaces, User-interface
Source repo head: git clone https://github.com/reflex-frp/reflex-dom(reflex-dom-core)
Uploaded by abrar at 2023-09-23T18:30:36Z
Distributions NixOS:0.8.1.0
Reverse Dependencies 11 direct, 9 indirect [details]
Downloads 3825 total (41 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]