Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joe-bell/example-next-isr-with-swr

Lightning fast static pages with ISR, instantly updated with SWR ⚡️
https://github.com/joe-bell/example-next-isr-with-swr

isr nextjs ssg swr

Last synced: about 2 months ago
JSON representation

Lightning fast static pages with ISR, instantly updated with SWR ⚡️

Awesome Lists containing this project

README

        

# Next.js Incremental Static Regeneration with SWR

> Lightning fast static pages with [ISR](https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration), instantly updated with [SWR](https://swr.vercel.app) ⚡️

- 📝 [Read the blog post](https://joebell.co.uk/blog/updating-static-next-js-pages-instantly)
- 🖥️ [View the demo](https://example-next-isr-with-swr.vercel.app/)

## FYI

This demo uses demo data stored in `src/mock-db`. Changes to posts won't be saved on refresh in this example, but would be if hooked up to a real-world database.