Module

ReactHocs.Defer

Package
purescript-react-hocs
Repository
coot/purescript-react-hocs

#deferByAnimationFrame Source

deferByAnimationFrame :: forall props eff. Int -> ReactClass props -> ReactSpec props { count :: Int } eff

Insipred by DeferRender Useful for rendering heavy components to allow the browser finish animation. This might help with percieving time of rendering. Check the original blog post.