You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,10 @@ Running a web-compatible recipe:
102
102
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ClockReactHooks/src/Main.purs)) |[ClockReactHooks](recipes/ClockReactHooks)| A React port of the ["User Interface - Clock" Elm Example](https://elm-lang.org/examples/clock). |
103
103
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ComponentsHalogenHooks/src/Main.purs)) |[ComponentsHalogenHooks](recipes/ComponentsHalogenHooks)| Demonstrates how to nest one Halogen-Hooks-based component inside another and send/receive queries between the two. |
104
104
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ComponentsInputHalogenHooks/src/Main.purs)) |[ComponentsInputHalogenHooks](recipes/ComponentsInputHalogenHooks)| Each time a parent re-renders, it will pass a new input value into the child, and the child will update accordingly. |
105
+
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ComponentsInputReactHooks/src/Main.purs)) |[ComponentsInputReactHooks](recipes/ComponentsInputReactHooks)| Each time the parent's state updates, it will pass a new prop value into the child, and the child will update accordingly. |
105
106
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ComponentsMultiTypeHalogenHooks/src/Main.purs)) |[ComponentsMultiTypeHalogenHooks](recipes/ComponentsMultiTypeHalogenHooks)| Demonstrates a component that can communicate with its children that have differing types. |
107
+
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ComponentsMultiTypeReactHooks/src/Main.purs)) |[ComponentsMultiTypeReactHooks](recipes/ComponentsMultiTypeReactHooks)| Demonstrates a parent component with several children components, each with different prop types. |
108
+
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ComponentsReactHooks/src/Main.purs)) |[ComponentsReactHooks](recipes/ComponentsReactHooks)| Demonstrates how to nest one React Hooks-based component inside another and send props from the parent to the child component. |
106
109
|:heavy_check_mark:|:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/DateTimeBasicsLog/src/Main.purs)) |[DateTimeBasicsLog](recipes/DateTimeBasicsLog)| This recipe shows how to use `purescript-datetime` library to create `Time`, `Date`, and `DateTime` values and adjust/diff them. |
107
110
|:heavy_check_mark:|:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/DebuggingLog/src/Main.purs)) |[DebuggingLog](recipes/DebuggingLog)| This recipe shows how to do print-debugging using the `Debug` module's `spy` and `traceM` functions. The compiler will emit warnings to remind you to remove these debug functions before you ship production code. |
108
111
|:heavy_check_mark:||[DiceCLI](recipes/DiceCLI)| This recipe shows how to create an interactive command line prompt that repeatedly generates a random number between 1 and 6. |
@@ -129,6 +132,7 @@ Running a web-compatible recipe:
129
132
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/KeyboardInputHalogenHooks/src/Main.purs)) |[KeyboardInputHalogenHooks](recipes/KeyboardInputHalogenHooks)| This example demonstrates how to selectively capture keyboard events and, more generally, how to use `EventSource`s in Halogen. |
|:heavy_check_mark:|:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/MemoizeFibonacci/src/Main.purs)) |[MemoizeFibonacci](recipes/MemoizeFibonacci)| This recipe demonstrates correct and incorrect use of the [`memoize`](https://pursuit.purescript.org/packages/purescript-memoize/docs/Data.Function.Memoize#v:memoize) function by calculating the fibonacci sequence. |
135
+
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/MyNewRecipe/src/Main.purs)) |[MyNewRecipe](recipes/MyNewRecipe)| A React port of the ["User Input - Buttons" Elm Example](https://elm-lang.org/examples/buttons). |
132
136
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/NumbersHalogenHooks/src/Main.purs)) |[NumbersHalogenHooks](recipes/NumbersHalogenHooks)| A Halogen port of the ["Random - Numbers" Elm Example](https://elm-lang.org/examples/numbers). |
133
137
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/NumbersReactHooks/src/Main.purs)) |[NumbersReactHooks](recipes/NumbersReactHooks)| A React port of the ["Random - Numbers" Elm Example](https://elm-lang.org/examples/numbers). |
134
138
|:heavy_check_mark:||[PayloadHttpApiNode](recipes/PayloadHttpApiNode)| Implements a simple 'quote' API using the [payload](https://github.com/hoodunit/purescript-payload) HTTP backend. |
0 commit comments