reflex-dom-core: Functional Reactive Web Apps with Reflex
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.
Modules
[Index] [Quick Jump]
- Foreign
- JavaScript
- Foreign.JavaScript.Orphans
 - Foreign.JavaScript.TH
 - Foreign.JavaScript.Utils
 
 
 - JavaScript
 - Reflex
 
Flags
Manual Flags
| Name | Description | Default | 
|---|---|---|
| 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 | 
| hlint-tests | Whether to run the hlint tests  | Disabled | 
Automatic Flags
| Name | Description | Default | 
|---|---|---|
| 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
- reflex-dom-core-0.8.1.4.tar.gz [browse] (Cabal source package)
 - Package description (as included in the package)
 
Maintainer's Corner
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, 0.8.1.1, 0.8.1.2, 0.8.1.3, 0.8.1.4 | 
|---|---|
| Change log | ChangeLog.md | 
| Dependencies | aeson (>=0.8 && <2.3), base (>=4.7 && <4.22), bifunctors (>=4.2 && <6), bimap (>=0.3 && <0.6), blaze-builder (>=0.4.1 && <0.5), bytestring (>=0.10 && <0.13), case-insensitive (<1.3), commutative-semigroups (>=0.1 && <0.3), constraints (>=0.9 && <0.15), containers (>=0.6 && <0.8), contravariant (>=1.4 && <1.6), data-default (>=0.5 && <0.9), dependent-map (>=0.3 && <0.5), dependent-sum (>=0.6 && <0.8), dependent-sum-template (>=0.1 && <0.3), 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.6), jsaddle (>=0.9.0.0 && <0.10), keycode (>=0.2.1 && <0.3), lens (>=4.7 && <5.4), monad-control (>=1.0.1 && <1.1), mtl (>=2.1 && <2.4), network-uri (>=2.6.1 && <2.7), primitive (>=0.5 && <0.10), random (>=1.1 && <1.4), ref-tf (>=0.4 && <0.6), reflex (>=0.8.2.1 && <1), semialign (>=1 && <1.4), semigroups (>=0.16 && <0.21), stm (>=2.4 && <2.6), template-haskell (>=2.12.0 && <2.24), text (>=1.2 && <2.2), these (>=0.4 && <1.3), transformers (>=0.3 && <0.7), unix (>=2.7 && <2.9), 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 alexfmpe at 2025-05-15T15:31:57Z | 
| Distributions | LTSHaskell:0.8.1.4, NixOS:0.8.1.4, Stackage:0.8.1.4 | 
| Reverse Dependencies | 11 direct, 9 indirect [details] | 
| Downloads | 4552 total (34 in the last 30 days) | 
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] | 
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2025-05-15 [all 1 reports]  |