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 deepseq. #3

Closed fisx closed 7 years ago

fisx commented 7 years ago

deepseq used to be called in one instance to get the old implementation of preventDefault, stopPropagation to work (see https://bitbucket.org/wuzzeb/react-flux/src/2be756ffa5d60bdc15f767f4006f0e145efcb39e/src/React/Flux/PropertiesAndEvents.hs?at=default&fileviewer=file-view-default#PropertiesAndEvents.hs-372 for details); this is no longer a valid reason, even though there is another issue with that (see #2)

I think there are uses where I have not found the reason yet.

I would like to have all occurrances of deepseq either explained or removed.