# two-minute-week

Tom Larkworthy

06/22/2022, 10:24 PM
10 second video of Livecoding a WhatsApp webhook in an @observablehq notebook. Note the cells are updating in realtime as the notebook responds to live WhatsApp events. Data is plotted and serialized and send back as images on-demand. Code changes are instantaneous. This is the developer experience I have been working towards and I am praying it is beginning to be understandable from video.
☎️ 2
👍 1

Jason Morris

06/24/2022, 12:11 AM
Can you change code, see the interface change in real time, then do something in the interface and see the notebook change? That would be very persuasive to me.

Chris Knott

06/24/2022, 7:24 AM
If I understand the demo, the notebook is basically watching/scraping the WhatsApp web app, I don't think it can control that UI

Tom Larkworthy

06/24/2022, 1:18 PM
@Jason Morris yes, in a different context (I can't control whatsApp UI) you can leverage Observables hot code reload to keep state in one or more cells, yet change the rendering UI code in another cell, so the UI updates but the state is not. My contribution is extending this ergonomic hot code reload that Observable already provides to serverless programming. @Chris Knott yeah, specifically its using Twilio's WhatsApp webhook integration, full gory details is
👍🏻 1