On Wednesday, November 30, 2016 at 4:58:31 PM UTC, Richard Feldman wrote:
>
> Even more, it is exactly like described here
>> https://gist.github.com/evancz/2b2ba366cae1887fe621
>>
>
> Thank you for this example. But I don't see how to properly trigger my
> "ratings" storage reload action if user state changed.
However you please! The caller has the necessary User info now, so UserInfo
is out of the picture and you can do whatever would normally make sense.
Here's one
On Wednesday, November 30, 2016 at 2:41:21 AM UTC, sergii.k...@zalando.de
wrote:
>
> Even more, it is exactly like described here
> https://gist.github.com/evancz/2b2ba366cae1887fe621 by the author of Elm
>
This is a gem. Not seen it before but there are some really useful ideas in
there.
@Richard
Thank you for this example. But I don't see how to properly trigger my
"ratings" storage reload action if user state changed.
Another question, What do you think about pages separation?
For example, I have several independent tabs and one of the tabs called
"Rating" and It has some
>
> Put another way, *Elm does not have anything similar to components!*
>
> But how about elm-mdl, elm-autocomplete, elm-ui, elm-datepicker,
> elm-form, elm-sortable-table even spinner elm-spinner? Thay all use theirs
> model, update, view "triplet" to be reusable and hide implementation
>
@Nick "triplet" is commonly used shortcut for model, update, view
functions.
https://www.youtube.com/watch?v=LCNs92YQjhw=youtu.be=21m09s
@Richard
Thank you for your response, I really appreciate it! As I said before, I
can be totally wrong.
Put another way, *Elm does not have anything
Sergii, not every interaction with the "UserInfo" module needs to go
through a function called "update". Just because the top-level Elm
architecture uses a single update function and a single view function does
not mean that you should automatically mirror this setup throughout your
program. As
On Tuesday, November 29, 2016 at 3:27:18 PM UTC, Rupert Smith wrote:
>
> I think there is a case to be made for a pub/sub message effects module to
> become part of the core language though.
>
I also think Elmq is not ready for publishing yet. Would like to get some
input on what features it
On Tuesday, November 29, 2016 at 2:45:36 PM UTC, sergii.k...@zalando.de
wrote:
>
> @Rupert Smith
> Can you add a README or provide few examples how to use it properly?
>
That I can do.
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To
On Tuesday, November 29, 2016 at 2:45:36 PM UTC, sergii.k...@zalando.de
wrote:
>
> @Rupert Smith
> Your module for pub/sub looks great! I will be useful for a lot of people
> like me. I think you should publish it.
> Can you add a README or provide few examples how to use it properly?
>
It
@Rupert Smith
Your module for pub/sub looks great! I will be useful for a lot of people
like me. I think you should publish it.
Can you add a README or provide few examples how to use it properly?
@Nick H
I also thought about this
> type Action = Loaded | UserInfo UserInfo.Action | Ratings
>
> (In the UserInfo "update" function if cannot return a command(effect)
> "Ratings Reload" directly, because of this "Cmd.map UserInfo effect")
>
It seems to me that you should not be wrapping "Loaded" in a "UserInfo"
action. Judging from your update function, I am guess your main action type
12 matches
Mail list logo