Roman Provazník

Results 47 comments of Roman Provazník

Hi @IvanRainbolt, thanks for the long reply, I really appreciate it. The thing I am trying to achieve is the same I already have for Fable apps with Fable.Remoting library:...

I can provide examples of: Fable.Remoting on Frontend Fable.Remoting on Backend (using Giraffe) ASP.NET auth using JWT token (custom generated) Is that what you would appreciate?

@Zaid-Ajaj Can I pull request to (newly created) "Examples" folder? Or how do you want to have it?

@Zaid-Ajaj would you like some more advanced example with sending errors as HTTP 4xx errors, custom Fable.Remoting error handler, using local storage for tokens, etc... ?

Just FYI, I also tried #401 by @olivercoad and it even survives every refresh, however it stops triggering commands, so it's more less at the same state as Alfonso's PR...

OMG man, it works like a CHARM!!! 👏🔥💓

One observation here. I found that in this @MangelMaxime version of UseElmish, when I change the dependencies, the full render is not triggered (for original UseElmish it works). Will try...

Ok, I may find it... I have to store also the state of dependencies and if it's not the same like previous ones, I need to do program re-init. ```fsharp...

> Is it when the dependency change via runtime execution? Yup. Exactly. I have a `ReactComponent`, that has a string parameter and this parameter is used in useElmish like: ```fsharp...

Yup. I would say so. It's still hook so if the deps in array changes, it should behave like it's the first time IMHO.