A GHCJS binding to React based on the Flux design. The flux design pushes state and complicated logic out of the view, allowing the rendering functions and event handlers to be pure Haskell functions.
I want to call window.addEventListener("hashchange", func, false);, but would prefer to not have to directly call into the JS FFI, so I was wondering if there was a good way to do that within react-hs.
I want to call
window.addEventListener("hashchange", func, false);
, but would prefer to not have to directly call into the JS FFI, so I was wondering if there was a good way to do that within react-hs.