Basic SWR repo stats
8 days ago

vercel/swr is an open source project licensed under MIT License which is an OSI approved license.

SWR Alternatives

Similar projects and alternatives to SWR

  • GitHub repo Next.js

    The React Framework

  • GitHub repo react-query

    ⚛️ Hooks for fetching, caching and updating asynchronous data in React

  • GitHub repo js_from_routes

    🛣️ Generate path helpers and API methods from your Rails routes

  • GitHub repo create-react-app

    Set up a modern web app by running one command.

  • GitHub repo prettier

    Prettier is an opinionated code formatter.

  • GitHub repo Preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

  • GitHub repo Playwright

    Node.js library to automate Chromium, Firefox and WebKit with a single API

  • GitHub repo husky

    Modern native Git hooks made easy 🐶 woof!

  • GitHub repo react-hook-form

    📋 React Hooks for forms validation (Web + React Native)

  • GitHub repo Immer

    Create the next immutable state by mutating the current one

  • GitHub repo mux

    A powerful HTTP router and URL matcher for building Go web servers with 🦍

  • GitHub repo Bit

    Build modular projects with components in harmony.

  • GitHub repo squoosh

    Make images smaller using best-in-class codecs, right in the browser.

  • GitHub repo eleventy 🕚⚡️

    A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.

  • GitHub repo zustand

    🐻 Bear necessities for state management in React

  • GitHub repo redux-toolkit

    The official, opinionated, batteries-included toolset for efficient Redux development

  • GitHub repo remark

    Markdown processor powered by plugins part of the @unifiedjs collective (by remarkjs)

  • GitHub repo effector-react

    The state manager ☄️

  • GitHub repo Stripe

    PHP library for the Stripe API.

  • GitHub repo react-youtube

    react.js powered YouTube player component

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better SWR alternative or higher similarity.


Posts where SWR has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-05-01.
  • React Context Custom Hook | The only Global State you'll ever need | 2021-05-01
    If your planning to do get some asynchronous data. I do recommend that you use a library for data fetching like React Query or SWR for better UX and Dev Exp.
  • How does SWR React Hooks lib handle stale-while-revalidate? | 2021-04-30
    I had setup a SWR client to fetch data from a GQL server months ago, and I just came back to it to add more features. The thing is, I never understood how the stale-while-revalidate on SWR works, do I need to set Cache-Control headers on the response or something? As I see none of these headers on the response.
  • is it good to use next.js with react query? | 2021-04-29
    it depends on what are you trying to do, if you do not need to fetch / revalidate data from an external source - you do not need it. You can also take a look at this library: it's maintained by the same company so it kinda goes hand in hand. good luck!
  • Next.js 10.2 – Improved Performance, Accessibility, Automatic Font Optimization | 2021-04-28
    Vercel has a library for state management that's similar to React Query.
  • useEffect and useState is not working
    also, if you so keen on using hook without any middleware, I suggest you use SWR
  • SWR: React Hooks for Data Fetching Vercel is the BEST!
  • A Technology Radar Volume 24 summary | 2021-04-25
    🔸swr - React Hooks library for remote data fetching;
  • Build an e-commerce site with the Stripe API | 2021-04-21
    We'll be using Vercel's SWR library for fetching, as well as the excellent [use-shopping-cart]( React integration.
  • ✨ I redesigned my Portfolio with Next.js and TailwindCSS. | 2021-04-18
    - SWR
  • How to understand the request deduplication in SWR | 2021-04-17
    SWR is an amazing react library that makes fetching data easier and more performant. What I really like about the library is the cache and deduplication. However, if we don't understand the mechanism correctly, it will lead you to a disaster. This post aims to take a look at some tricky cases of SWR caching and explain the reason.
  • Building a visit counter with Redis and React | 2021-04-16
    As we can see, the component receives the slug of the page as a prop and it is using SWR library to improve the speed and cache for the fetch of the data.
  • I created a Hackernews client with Next.js and TailwindCSS. | 2021-04-08
    SWR - Data fetching
  • Next.js: Multilanguage support with internationalized routing | 2021-04-08
    2: Fetch locale JSON file Make Rest call using useSWR hook with the locale code from the previous step.
  • call useFetch when selecting options | 2021-04-07
    If you don't care about writing the hook to make the request yourself I would suggest using a third party library like react-query or swr.
  • Frontend: Developer Experience & Software Maintainability | 2021-04-05
    I started by designing the best experience when it comes to data fetching and then I thought of an abstraction to be able to use it in all codebase. But instead of implementing the best abstraction, I started to search for a solution. Well, data fetching is a common challenge in all kinds of frontend applications and we actually have nice alternatives in the community (react-query, swr).