SWR 2.0

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • SWR

    React Hooks for Data Fetching

  • https://github.com/vercel/swr/blob/14956a840ac9b75fe321bf846...

    so if I check `isLoading` in my component then typescript isn't able to narrow/refine the type to something more specific since it isn't a sum type.

    While with react-query, it's a proper sum type that can be differentiated by checking `isLoading`.

    The type is actually quite long so here's just a bit

        export type QueryObserverResult =

  • TanStack Query

    🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

  • https://github.com/TanStack/query/blob/9b21609350d9ad41faf5c...

    The key point in the type above is `isLoading: true` and `data: undefined`, which means if I check `isLoading === true`, then typescript knows the data is not available.

    SWR doesn't provide these guarantees.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The Hate around Redux and co?

    3 projects | /r/reactjs | 19 Sep 2022
  • TanStack Query(a.k.a. React Query) v5 announced

    3 projects | news.ycombinator.com | 19 Oct 2023
  • Do I need a fetching library in React?

    2 projects | dev.to | 27 Jul 2022
  • api integration without redux other options?

    2 projects | /r/react | 17 Jul 2022
  • Best React Developer Experience?

    10 projects | /r/reactjs | 11 Jul 2022