Is there a F# equivalent to Phoenix Liveview?

#1
#2

There’s the Fable REPL???

#3

Bolero is sounds like that: F# on the client side, no JavaScript.

From the docs:

Bolero uses Blazor to bring F# to WebAssembly. Create dynamic HTML content using syntax familiar from WebSharper and Fable, in a full-fledged client-side .NET web framework.

1 Like
#4

I recommend looking at the SAFE Stack. This actually appears to be a closer match to LiveView, as it’s for application development (not online repl experience).

F# has been doing a lot of this for quite a long time.

#5

Looks like server side Blazor is the closest equivalent in .NET. F# support is subject to research though

1 Like
#6

Agreed that Razor Components are essentially what you want. I didn’t get this working with my trail experiment, and I don’t know whether bolero supports this option.

References:

#7

Can server-side Blazor listen for pub-sub notifications and trigger a re-render on the client when the server side state changes?

I’d love to hook up some server rendered views to Postgres notifications to ensure UIs never show stale information.