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

Islands Architecture: A Recipe for Modern Web P...

Islands Architecture: A Recipe for Modern Web Performance Optimization

Islands Architecture is a paradigm shift in web development that offers a fresh approach to building highly performant web applications. By breaking down monolithic applications into smaller, self-contained "islands", so developers can achieve better web performance. In this talk, we explore the principles behind Islands Architecture (imperatively the why and its relation to JavaScript and web development), its benefits and how it can be implemented in real-world projects.

Tweet

Other Decks in Technology

Transcript

  1. Islands Architecture Olabode Lawal-Shittabey Software Engineer, Open Source Enthusiast &

    Advocate @babblebey Twitter X logo PNG For Free Download GitHub - Wikipedia babblebey.dev
  2. • Loaded a website and stared at a white screen

    (or best case a loading spinner) for a while!? • Loaded a website and an interactive component just isn’t working after multiple action!? Can you relate!? @babblebey
  3. SOCIAL MEDIA APP E-COMMERCE BLOGS LANDING PAGES MARKETING SITES WEB-BASED

    GAMES Zero JS Plenty JS JS How much do we need? Some JS SAAS DOCS SITES @babblebey
  4. Zero JS Some JS Plenty JS JS Expected vs Actual

    Output Same Minimum JS Expected Actual Cool !Cool @babblebey
  5. How they roll JS Render Webpage Manage State Add Interactivity

    to Webpage Navigating/Routing A lot of JS @babblebey
  6. How do we address this?????????? JS Render Webpage Manage State

    Add Interactivity to Webpage Navigating/Routing A lot of JS @babblebey
  7. Katie Sylor-Miller Jason Miller Islands Architecture Header (Menu) Image Carousel

    (Slider) Body (Text, Images) Sidebar With JavaScript Static HTML @babblebey
  8. Multiple Page Applications Static Site Generation (SSG) Server-Side Rendering (SSR)

    First Meaningful Paint (FMP) Time To Interact (TTI) HTML x CSS JS Data @babblebey
  9. Build Webpage Single Page Applications Fetch Data Add Interactivity and

    more……. Client-Side Rendering (CSR) @babblebey
  10. Single Page Applications + SSR First Meaningful Paint (FMP) Time

    To Interact (TTI) HTML x CSS JS Data Hydrating the web page @babblebey
  11. Single Page Applications + SSR New Problems Hydrating (applying JS

    to web page) Needs JS Needs JS @babblebey
  12. New Hydration Approach First Second Progressive Hydration Partial Hydration Hydrate

    Hydrate (if needed) Islands Architecture Islands @babblebey
  13. Islands Architecture • Hydration done right (Only Selected Components) •

    Now your “Server” will not be jealous and your “client” can rest The Recipe • No Interaction, No JS! (I have proof ) @babblebey Want to explore some islands with us??? Watch the space at • Bye-bye to “its fast on my machine”, and hello to “Great stuff”
  14. Thank YOU Olabode Lawal-Shittabey @babblebey Twitter X logo PNG For

    Free Download GitHub - Wikipedia hi.new/ola See Talk Repository For More Resources: https://git.new/islands