's Avatar

@romain-deneau.bsky.social

1 Followers  |  1 Following  |  6 Posts  |  Joined: 13.10.2025  |  1.3605

Latest posts by romain-deneau.bsky.social on Bluesky

I'm interested, for December the 20th πŸ™

14.11.2025 05:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Tips for Unit Testing Fable Apps using .NET

Blog post: Tips for unit testing #fsharp Fable apps using .NET:
jordanmarr.github.io/fsharp/unit-...

05.10.2025 19:37 β€” πŸ‘ 17    πŸ” 5    πŸ’¬ 3    πŸ“Œ 1

Thank you for the feedback πŸ™

14.10.2025 05:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

On my side, I prefer to see all the features directly with both the Model and the Msgs, without having to look at the implementation in the view and update functions. It's the beauty and the power of Elmish / MVU pattern. It's pragmatic too, based on another tradeoff.

14.10.2025 05:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yes, I like the flexibility that offers Elmish. Your approach is interesting, using the Cmds for effects including UI ones, as long as it's a deliberate choice. For instance, if we need to test the business rules regarding the display of such messages, it's more convenient with the Model.

14.10.2025 05:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

It's more aligned with the Elmish philosopy. What do think?

13.10.2025 09:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Thx for the tips. I like the 1st one: ServerApi.mkDefault().

On my side, I do nothing related to the UI in the update function. I only use the Model for that. For instance, to trigger `Toastify.error`, I would have an optional Error in the Model.

13.10.2025 09:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

@romain-deneau is following 1 prominent accounts