Episode 05 • Creating Svelte, Sapper and WordPress Website

Refactoring - Making It SSR Ready

In this episode we are going to refactor our Sapper and Svelte code to make it ready for Server Side Rendering or SSR

In the previous episode I told you that our method for retrieving posts from our WordPress REST API was not exactly ideal, because it won't be server side rendered. And we actually want that, so that our site would be more performant and so that we can get all SEO benefits.

So in this episode we are going to refactor our Sapper and Svelte code to make it SSR ready, and that we can reap all of the benefits that we get from that once we put our site online.

Download code

Wanna ask a question about this video?

Like This Video?

Consider supporting me on Patreon.

...or you can share this video, that also helps ;)

  • Episode 01 • Duration 12:46

    Fetching The Posts

  • Episode 02 • Duration 16:44

    Post Details And Environment Variables

  • Episode 03 • Duration 20:53

    Pagination And Sass Support

  • Episode 04 • Duration 22:15

    Handling Categories

  • Episode 05 • Duration 28:50

    Refactoring - Making It SSR Ready

  • Episode 06 • Duration 15:25

    Navigation And Pages

  • Episode 01 • Duration 12:46

    Fetching The Posts

  • Episode 02 • Duration 16:44

    Post Details And Environment Variables

  • Episode 03 • Duration 20:53

    Pagination And Sass Support

  • Episode 04 • Duration 22:15

    Handling Categories

  • Episode 05 • Duration 28:50

    Refactoring - Making It SSR Ready

  • Episode 06 • Duration 15:25

    Navigation And Pages