Update README

This commit is contained in:
iko 2023-08-25 11:42:16 +03:00
parent e70aeed17b
commit 397b352b71
Signed by untrusted user: iko
GPG Key ID: 82C257048D1026F2

View File

@ -8,8 +8,15 @@
[![DEMO](https://img.youtube.com/vi/tynCzifvIzE/0.jpg)](https://www.youtube.com/watch?v=tynCzifvIzE)
## Getting started
The easiest way of using this library is by using the [airlock template](https://github.com/ilyakooo0/airlock-template).
### FFI
This is for setting up this library from scratch.
Urbit subscriptions require [server-side event (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
Unfortunately, Elm does not provide a native implementation.
This means that we will need to use [JS FFI (aka ports)](https://guide.elm-lang.org/interop/ports.html).