bucklescript-tea
bucklescript-tea copied to clipboard
TEA for Bucklescript
Could you add a repo with a small skeleton project, with the javascript pipeline (bundler, watcher etc.) configured and working? It would be a big help for people not coming...
The following statement successfully sets up a connection to a websocket server ``` let ws = WebSockets.WebSocket.make "ws://localhost:5858" |> WebSockets.WebSocket.setBinaryType ArrayBuffer |> WebSockets.WebSocket.on @@ Open (fun _ -> Js.log "Open")...
Your current implementation lacks type signatures. I will try to fix this. I think we need functors to get rid of the type variables `'msg`, `'model` and so on. This...
Lexifi's [ocaml-vdom](https://github.com/LexiFi/ocaml-vdom) has a nice API for declaring UIs, similar to elm's but nicer in a bunch of small ways. It'd be great to have that as an alternative API...
Perhaps I don't I understand how to use pushMsg. I'm extending the starter project like this: in index.html: ``` buckle_app = starter.main(document.body); ``` I've added the msg **AnimationUpdate** to model...
match clause `Style s as _newProp` of `Vdom.patchVNodesOnElems_PropertiesApply_Mutate` can't handle the case two lists have different lengths. It is because OCaml's `List.fold_left2` will raise Invalid_argument if the two lists are...
 The thing is that when the codebase becomes large, it is really difficult to find what code has this problem. Same to to a vdom list change.
Standard states that boolean attribute must not have their value set to true, but instead must be either empty or a case-insensitive version of their own name, "true" and "false"...
In Elm properties of html tags are defined as a list. ```elm profile user = div [ class "profile" ] [ img [ src user.picture ] [] , span []...