Questions tagged [websharper.ui.next]
12 questions
8
votes
1 answer
What's the difference between Behavior and Event in FRP?
I'm currently reading the documentation of WebSharper. In the section about FRP, it states:
Functional Reactive Programming (FRP) typically provides an Event type for event streams and a Behavior type for time-varying values, together with useful…

xji
- 7,341
- 4
- 40
- 61
5
votes
1 answer
F# ionide websharperserverclient - how to run
I have a problem with running websharperserverclient template app from ionide project generator, and cannot find any information on the web how to do it - the closest thing i got was this question - I actually tried to run it with xsp4 in the…

Jeffrey
- 91
- 2
- 4
3
votes
1 answer
websharper F# endpoints - catch all page handler and page redirect
sorry this is such a long post
I am using F# and WebSharper (I am new to both technologies)
I have some endpoints defined (I have working code until I add the NotFound endpoint)
type EndPoint =
| [] Home
| [

Derek Lavine
- 103
- 8
3
votes
1 answer
ws-replace is similar to ws-hole , isn't?
ws-replace
The attribute ws-replace creates a Doc or seq hole. The element on which this attribute is set will be replaced with the provided Doc(s). The name of the hole is the value of the ws-replace attribute.
ws-hole
The attribute ws-hole…

ATU stackOverflow
- 71
- 11
2
votes
1 answer
Slowing performance in Websharper application, possible memory leak
The sample code below in a single page Websharper application exhibits the issue encountered in my project.
Over time, there is some action that progressively takes longer. It occurs every few seconds. After an extended period, 20 mins or more,…

cadull
- 439
- 4
- 7
1
vote
1 answer
WebSharper.UI.Next missing
open WebSharper.UI.Next.Client
open WebSharper.UI.Next.Html
open WebSharper.UI.Next
Don't know why after update the Nuget package WebSharper.UI.Next from 4.6 to 4.7, these namespaces are not available... But in the project file (.fsproj), the…

Anibal Yeh
- 349
- 1
- 11
1
vote
1 answer
Can't get WebSharper Javascript Client to run hosted on Suave
I am trying out the example snippet titled "Adding client-side functionality" from the following page :
https://developers.websharper.com/docs/v4.x/fs/overview
It looks a bit outdated and doesn't compile as is, so based on the original repository…

Bent Tranberg
- 3,445
- 26
- 35
1
vote
1 answer
How to convert View or Async to Doc in webSharper?
Please, I am new to WebSharper does anyone know how I can convert View (doc) or Async (doc) to Doc in webSharper? I have tried to open "WebSharper.UI.Next.Client" but does not seem to be compatible with the Doc I am using. The code giving such error…

Oluwagbemi Kadri
- 400
- 5
- 15
1
vote
1 answer
Zafir.UI.Next not working with IE11
Beginning with Zafir.UI.Next Version 4.0.128.30.beta6 there is an
jQuery.Deferred exception with IE11:
jQuery.Deferred exception: Die Eigenschaft "insertBefore" eines undefinierten oder Nullverweises kann nicht abgerufen werden. TypeError: Die…

Schellaine
- 43
- 8
1
vote
1 answer
How can I handle onchange for a select option in WebSharper UI.Next
I am trying to display a different SPA view based on the option selected from Doc.Select.
I would like to handle onchange events using WebSharper UI.Next. I have searched around for some information and have seen on which can be set in the…

Mr. Mr.
- 4,257
- 3
- 27
- 42
1
vote
1 answer
How to get basic websharper app in xamarin loading javascript in browser
I've created the basic Websharper UI.Next client server running Suave.IO app. I'm using latest Xamarin on OSX Yosemite. I updated all the nuget packages after installing the template project and then just ran it.
I've started the application and…

bradgonesurfing
- 30,949
- 17
- 114
- 217
1
vote
2 answers
Running websharper.ui.next on OSx complains with a mcs error
I've got a websharper project that runs flawlessly on windows. However it only compiles flawlessly on mac but can't be run. The webserver complains that it can find a file (doesn't name it) and reading the stacktrace it seems to be the C# compiler…

Rune FS
- 21,497
- 7
- 62
- 96