Thank you for your reply. I have solved my problem after looking hours and
hours on my code :) The problem was that I had a button that calls to the
backend which I described in my question and the problem was that the
button was in a Html.form. Apparently it will first trigger the action and
t
When will the init function call?
I have a strange (for me) behaviour in my flow. I have a backend call
in which some entity will be saved. I have a page redirect logic e.g.:
type alias Model
{ page : Int
}
view model =
case model.page of
0 -> viewA
1 -> viewB
...
In my
I have a strange (for me) behaviour in my flow. I have a backend call
in which some entity will be saved. I have a page redirect logic e.g.:
type alias Model
{ page : Int
}
view model =
case model.page of
0 -> viewA
1 -> viewB
...
In my 'update' function I will set this p