reflex-jsx: Use jsx-like syntax in Reflex
`reflex-jsx` is a library for writing jsx-like syntax in
reflex code. This can be useful for situations where you
have a large block of HTML with some styles, and it would
be easier to read as actual HTML than various reflex
functions.
It's implemented as a QuasiQuoter, so you just import the
jsx
function from ReflexJsx and generate the equivalent
functions that would run inside of a "MonadWidget t m".
Not only can you generate a block of static HTML/CSS, but you
can also splice in your own nodes that implement
"MonadWidget t m", string attribute values, or even entire
dynamic attribute maps.
Downloads
- reflex-jsx-0.1.0.0.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.1.0.0 |
---|---|
Dependencies | base (>=4.8 && <5), containers, haskell-src-meta, parsec (>=3.1 && <3.2), reflex, reflex-dom, template-haskell, text [details] |
License | BSD-3-Clause |
Copyright | 2016 David Ackerman |
Author | David Ackerman |
Maintainer | david.w.ackerman@gmail.com |
Category | FRP, Web, GUI, JSX, Language |
Home page | https://github.com/dackerman/reflex-jsx |
Bug tracker | https://github.com/dackerman/reflex-jsx/issues |
Source repo | head: git clone https://github.com/dackerman/reflex-jsx |
Uploaded | by dackerman at 2016-05-24T17:53:52Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 895 total (1 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] |