Zaid-Ajaj / the-elmish-book

A practical guide to building modern and reliable web applications in F# from first principles
https://zaid-ajaj.github.io/the-elmish-book
Other
332 stars 49 forks source link

Feliz ElmishComponents or useElmish #161

Open texastoland opened 3 years ago

texastoland commented 3 years ago

Around Splitting Programs a lot of lines are spent explaining prop drilling in the Elm architecture. ElmishComponents would be a huge improvement without sacrificing concepts or features like automatic disposal. I prefer useElmish (in combination with useContext for global state) but that may be too divergent from traditional Elmish patterns.

Zaid-Ajaj commented 3 years ago

useElmish will covered when I start to cover Feliz and its hooks. Right now, I am very low on time but I will get back to writing at some point