Martin Krause

“It’s only work if somebody makes you do it.” • craft code • creative ideas • cutting edge • adventures above and below the sea level

next.js: i18n with static sites

Recently I had a client who wanted a fast single-page-application (SPA) with an outstanding lighthouse score and multiple languages hosted on a cheap shared hosting solution only accessible by FTP ... and of course they wanted it to be build with react.js. From the initial requirements and the following discussion we...

The two and a half + one flavors of next.js’s pre-rendering

Confused by the title? Don't be, we will take a look at the different pre-rendering options provided by next.js. According to the documentation, next.js has two flavors of pre-rendering Static Generation (SSG) and Server-side Rendering (SSR): Two forms of Pre-renderingnext.js has two forms of pre-rendering: Static Generation and Server-side Rendering. The difference is in when it generates...