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.
1 parent 242f827 commit 07edbd9Copy full SHA for 07edbd9
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