Fork me on GitHub
#announcements
<
2024-04-09
>
mikethompson06:04:53

re-com has a new grid with an interesting design from @kimo741. We're interested in feedback: https://re-com.day8.com.au/#/nested-grid

clojure-spin 7
🎉 7
gratitude 2
geraldodev10:04:52

impressive docs

Kimo13:04:38

Thanks. Mike & I hashed them out together. I have a more minimal style, mike has more of a storytelling approach.

danielsz15:04:17

Experimental support for WebSockets in Ring was added in 1.11.0-alpha1. I haven't seen examples in the wild yet, so here is mine: a fully fleshed example that shows how to piece everything together. https://github.com/danielsz/ring-websockets-meyvn Two points of interest: • Browsers don’t expose the Ping and Pong API defined in the WebSocket protocol. Web devs have to roll their own keepalive mechanism in the application layer. This example shows one possibility (sweet and short) of how to do that. • With Transit, Clojure data structures, instead of mere bytes or strings, can be exchanged on the socket. This opens the door for routing messages based on keys in maps, etc. Powerful stuff! Special thanks to James Reeves (https://github.com/ring-clojure/ring-websocket-transit) and Ning Sun (https://github.com/sunng87/ring-jetty9-adapter). I should note that the example is for exploratory use. In production, use https://github.com/taoensso/sente.

👍 25
1