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

Eliminate uses of unsafePerformIO. #4

Open fisx opened 7 years ago

fisx commented 7 years ago

They are there for different reasons, and some of them are going to require substantial re-factoring, but I would like to get rid of all of them if at all possible.

Partial solutions would also be appreciated.

tysonzero commented 6 years ago

On top of this, there is also plenty of usage of unsafeCoerce which would be nice to get rid of, if at all possible.