OxfordRSE / gutenberg

https://oxfordrse.github.io/gutenberg
BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

Upgrade next 14 (and adds revaildation to static pages) #220

Closed alasdairwilson closed 6 months ago

alasdairwilson commented 6 months ago

Upgrading to next 14 was an absolute pain due to hydration errors introduced in 14.2.4 due to blank strings being replaced with undefined when building the js.

Which means this bug was very difficult to reproduce and only by luck did I find this pr:

https://github.com/vercel/next.js/pull/65248

Which should fix it in a later next release but for now we must avoid 14.2.x

This also adds the refreshing of stale material in the static pages (finally) which closes #8

This has been checked and now changes to the markdown files will be reflected (within an hour) on the static html pages.