Skip to content

Commit 22d6fce

Browse files
et1975alfonsogarciacaro
authored andcommitted
Update 2022-10-13-use-elmish.md
Credits due
1 parent 84e7f4f commit 22d6fce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/blog/2022/2022-10-13-use-elmish.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Thankfully, these problems have been solved now thanks to React 18 (with the new
2323

2424
## Elmish 4 Subscriptions
2525

26-
Subscriptions are becoming much more powerful with Elmish 4:
26+
Thanks to [Kasey Speakman](https://github.com/elmish/elmish/pull/248) subscriptions are becoming much more powerful with Elmish 4:
2727

2828
- Subscriptions must include now an `IDisposable` that will be invoked by Elmish when cleaning up.
2929
- The `Program.withSubscription` function is now evaluated after every update. This makes it really easy to activate or deactivate subscriptions on demand.
@@ -85,4 +85,4 @@ You can check [this example](https://github.com/alfonsogarciacaro/fable-react-sa
8585

8686
> In order for React Fast Refresh to work, files must **export only React components**, that is, functions decorated with `Feliz.ReactComponent` or `JSX.Component` and using PascalCase. The rest of the code in the file must be private.
8787
88-
Special thanks to Eugene Tolmachev, Maxime Mangel, Zaid Ajaj, Cody Johnson and all the other contributors that have turned writing React apps in F# into such a great development experience!
88+
Special thanks to Eugene Tolmachev, Maxime Mangel, Zaid Ajaj, Cody Johnson and all the other contributors that have turned writing React apps in F# into such a great development experience!

0 commit comments

Comments
 (0)