elmish / sample-react-counter-ws

(Borked) needs updated bindings

Repository from Github https://github.comelmish/sample-react-counter-wsRepository from Github https://github.comelmish/sample-react-counter-ws

Counter Modified to use WebSockets

This is a modified version of the Elmish counter sample illustrating the use of WebSockets in a Fable app.

Client

Uses Fable.Import.Browser.WebSocket type.

Server

Uses fable-import-ws to fire WebSockets events from an Express node HTTP server, all from Fable-generated code.

Build and running the sample

  1. Install shared sample dependencies: ./build.sh on *nix or build on Windows
  2. cd src
  3. Start Express server: yarn run start
  4. open http://localhost:8080

About

(Borked) needs updated bindings

License:Other


Languages

Language:F# 81.8%Language:JavaScript 8.1%Language:Shell 5.6%Language:HTML 2.6%Language:Batchfile 1.8%