Hi Richard! I'm glad you liked Toasty and grateful you took the time to share here your experience using it. Certainly explaining things on a README file is not one of my strengths 😕but at least the example file is a bit more clear 😅.
I wrote that package a couple of months ago and coming from a JavaScript background I struggled a lot trying to come up with something like a "plugin" that plays nicely with The Elm Architecture. The first thing I instinctively tried to achieve was encapsulating the module somehow so that it wouldn't pollute the application code, but then I figured it would be better to follow TEA more closely and provide the different separate pieces and let the users integrate them in their own architecture. I'm still not completely sure what the best answer for this problem is, but I guess that the "plug&play" versatility that JS libraries commonly have is simply not posible in Elm, an maybe for the best.
Thanks again for writing this!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Richard! I'm glad you liked Toasty and grateful you took the time to share here your experience using it. Certainly explaining things on a README file is not one of my strengths 😕but at least the example file is a bit more clear 😅.
I wrote that package a couple of months ago and coming from a JavaScript background I struggled a lot trying to come up with something like a "plugin" that plays nicely with The Elm Architecture. The first thing I instinctively tried to achieve was encapsulating the module somehow so that it wouldn't pollute the application code, but then I figured it would be better to follow TEA more closely and provide the different separate pieces and let the users integrate them in their own architecture. I'm still not completely sure what the best answer for this problem is, but I guess that the "plug&play" versatility that JS libraries commonly have is simply not posible in Elm, an maybe for the best.
Thanks again for writing this!