We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f3cf28 commit 1642393Copy full SHA for 1642393
1 file changed
src/React/Basic/Hooks.purs
@@ -113,6 +113,8 @@ useState initialState = Render do
113
114
foreign import data UseEffect :: Type -> Type -> Type
115
116
+-- | The effect will be run when the component is mounted, and the effect
117
+-- | returned from the function will be run on cleanup
118
useEffect
119
:: forall key
120
. Eq key
@@ -367,4 +369,4 @@ foreign import useEqCache_
367
369
. EffectFn2
368
370
(Fn2 a a Boolean)
371
a
- a
372
+ a
0 commit comments