3 ms·
Can you talk more about more of the tricks you use, with server side rendering and light JS? What about things like real-time (pushed preferably) updates based
by bravura 3y ago
Can you talk more about more of the tricks you use, with server side rendering and light JS?
What about things like real-time (pushed preferably) updates based upon db changes, or another API finally sending streaming results, etc
- 0xblinq 3y agoPolling is fine for 99% use cases. Even Amazon does this.
- the_gastropod 3y agoTools like HTMx [1] and Turbo [2] have pretty elegant and simple solutions to deal with Websockets. [1] https://htmx.org/extensions/web-sockets/ https://htmx.org/extensions/web-sockets/ [2] https://turbo.hotwired.dev/handbook/streams https://turbo.hotwired.dev/handbook/streams