liqula / react-hs

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.
32 stars 10 forks source link

StoreField is broken. #36

Open fisx opened 7 years ago

fisx commented 7 years ago

There is a pending test case in react-hs/react-hs/test/spec/ that demonstrates this. I suspect it has something to do with the changes we made to export.js, Export.hs since this here:

Even though this is likely a bug, a nicer solution may be to remove the StoreField type altogether. It's note very accessible to begin with.