This is a modified version of the Elmish counter sample illustrating the use of WebSockets in a Fable app.
Uses Fable.Import.Browser.WebSocket
type.
Uses fable-import-ws
to fire WebSockets events from an Express
node HTTP server, all from Fable-generated code.
- Install shared sample dependencies:
./build.sh
on *nix orbuild
on Windows cd src
- Start Express server:
yarn run start
- open http://localhost:8080