We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 242f827 + 07edbd9 commit 96bcd6eCopy full SHA for 96bcd6e
README.md
@@ -41,7 +41,7 @@ type ExampleState =
41
-- state update callback, and produces a document.
42
example :: R.ReactComponent ExampleProps
43
example = R.react
44
- { initialState: { counter: 0 }
+ { initialState: \_ -> { counter: 0 }
45
, render: \{ label } { counter } setState ->
46
R.button { onClick: mkEffFn1 \_ -> do
47
setState { counter: counter + 1 }
0 commit comments