Introducing the new Next.js and SWR clients
Blog post from Wundergraph
The new Next.js client is built using the SWR (Server-Side Rendering) library, which provides a more efficient and optimized data fetching experience. The client supports queries, subscriptions, and mutations, with features such as optimistic updates, invalidation of queries after mutations, and support for Server-Side Rendering (SSR). The API is fully typed and uses middleware to add functionality to individual hooks or globally using `SWRConfig`. The new client also works seamlessly with live queries and subscriptions, making it an excellent choice for building high-performance APIs. With the release of SWR 2.0RC, the Next.js client has been rewritten to use SWR, providing a more streamlined experience for developers.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Developer Experience | 2 | 225 | 121 | 69 | -32% |
| Serverless | 1 | 601 | 116 | 65 | -58% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.