Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 ⚡️
- Host: GitHub
- URL: https://github.com/joe-bell/example-next-isr-with-swr
- Owner: joe-bell
- License: mit
- Created: 2021-01-20T08:04:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-14T04:42:36.000Z (about 3 years ago)
- Last Synced: 2024-10-14T14:11:45.356Z (about 2 months ago)
- Topics: isr, nextjs, ssg, swr
- Language: TypeScript
- Homepage: https://example-next-isr-with-swr.vercel.app
- Size: 336 KB
- Stars: 53
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-NextJs - example-next-isr-with-swr - [demo](https://example-next-isr-with-swr.vercel.app/) (Nextjs Projects)
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.