blaze-react
blaze-react copied to clipboard
A blaze-html style ReactJS binding for Haskell using GHCJS
How much effort would it be to decouple this library from blaze and allow using other html generating libraries like lucid or hamlet? I could be wrong, but it looks...
I removed the `Monad` instance for the variant of `Html` which is serializable with embedded event-handler annotations. This currently means that one has to write things like ``` haskell H.div...
This avoids costly conversions if you're writing an SPA and have JSStrings in your state.
If the developer creates an invalid DOM tree (e.g. table -> tr instead of table -> tbody -> tr), then react js itself will have strange issues. This is unfortunately...
...otherwise we annoy hard-core terminal users ;-)
We currently hard-code the server to use `FromJSON/ToJSON` to serialize the state. We want to make this a user-choice. This allows us to easily let the user select a pretty-printing...
The code currently lies in `feat-serializable-html`.
In our app we need to know the dimensions of a specific HTML node after it's inserted into the native DOM. React provides [Life Cycle Methods](http://facebook.github.io/react/docs/component-specs.html#lifecycle-methods) (specifically the `componentDidUpdate`) to...
todomvc now has a couple of npm packages for the css and assets. See [here](https://github.com/tastejs/todomvc-app-template).