Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nicolerauch on github.
  • I am nicolerauch (https://keybase.io/nicolerauch) on keybase.
  • I have a public key ASBmiJKelgsETnFe_grtkxXnY0_FzgkXUD-d_9_lcvRTrwo

To claim this, I am signing this object:

@NicoleRauch
NicoleRauch / ReactFluxExample_Lifecycle.hs
Created February 11, 2017 19:54
Example app to demonstrate that a react-flux Lifecycle component does not update its children on state changes
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE OverloadedStrings #-}
module ReactFluxExample_Lifecycle where
import Control.DeepSeq
import Data.Monoid ((<>))
import Data.Typeable (Typeable)
@NicoleRauch
NicoleRauch / gist:bbd4ca9f66722324d8383170fd9022a6
Created January 2, 2017 08:11
Capture information in one view, display it in another
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE OverloadedStrings #-}
module ReactFluxExample where
import Control.DeepSeq
import Control.Monad (forM_)
import Data.Typeable (Typeable)