← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Premise Stimulus controllers usually talk to each other via dispatched events.

  2. Premise Here’s a pattern you’ll find in any app with inline-editable fields: change a value, auto-save it, show a little toast that confirms the save.

  3. Premise This is the third installment in our View Transitions series.

  4. Turbo Frames - Error Boundaries

    Premise You’ve seen it: a Turbo Frame request hits a 500, and instead of anything useful, the user gets “Content Missing.”

  5. Premise In Challenge 19 — building on Challenge 8 (inline stream tags) and Challenge 9 (custom actions) — we stored ephemeral state in localStorage.

  6. Turbo Frames - Chained Selects

    Premise Pick a country, then pick a city — you’ve seen this pattern a thousand times.

  7. Premise In the Loading Spinner challenge, we added busy indicators for Turbo Frame navigations — links that swap frame content asynchronously.

  8. Premise Turbo Frames are a great way to compartmentalize your user interface, but sometimes they require workarounds when it comes to state management.

  9. Turbo Frames - Loading Spinner

    Premise Asynchronously loading content via Turbo Frames sometimes comes with a user experience degradation because the frame doesn’t advertise its busy status, and/or becomes unresponsive.

  10. Stimulus - Web Share API

    Premise Among the more esoteric native browser APIs there’s one that is mostly overlooked (well, tbh most of them are) and thus lead to a whole host of third-party solutions when in fact the browser already includes this capability out of the box: The Web…