Upgrade to Pro — share decks privately, control downloads, hide ads and more …

State is the First Decision you Never Made

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

State is the First Decision you Never Made

Web apps are built on a paradox: stateful experiences over a stateless web. State decisions permeate the stack, yet are often made implicitly while teams debate frameworks, APIs, or architecture. This talk shows how those decisions shape real features and how to build *with* the web platform instead of fighting it.

Originally given at Blue Ridge Ruby 2026

Avatar for Joël Quenneville

Joël Quenneville

April 30, 2026

More Decks by Joël Quenneville

Other Decks in Technology

Transcript

  1. Web dev is about building sta teful experiences over a

    protocol that is designed to be sta te less PARADOX
  2. Delivery Options <form action="/checkout/delivery" method="POST"> <!-- Step 2 fields -->

    <label>Delivery method</label> <select name="delivery_method"> <option value="standard">Standard (3-5 days)</option> <option value="express">Express (1-2 days)</option> <option value="overnight">Overnight</option> </select> <button type="submit">Next</button> </form>
  3. Carrying State with Hidden Fields <form action="/checkout/delivery" method="POST"> <!-- Hidden

    fields carrying Step 1 state forward --> <input type="hidden" name="street" value="123 Oak Lane"> <input type="hidden" name="city" value="Springfield"> <input type="hidden" name="postal" value="12345"> <!-- Step 2 fields... --> </form>
  4. Server Memory PostgreSQL or other relational databases S3 or other

    file storage Redis or other key-value stores
  5. Where does state live? Browser Decouple state accumulation from HTTP

    requests Network Ping-pong approaches Server References
  6. State is often a decision you don't consciously m ak

    e, but have to liv e with BIG IDEA
  7. developer, author, speaker Joël Quenneville Bike Shed Co-host bikeshed.fm Author

    The Web as a Platform @joelquen thoughtbot Principal Developer
  8. Sign up to be notified when the book launches The

    Web as a Platform https://buttondown.com/webasplatform