What is the recommended way to load data for React 18?

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • React

    The library for web and native user interfaces.

    https://github.com/facebook/react/issues/24502 ->Dan said "the 'best' advice is to not [do it]" and "it's not ideal". And when asked what the advised way to fetch data is without libraries or frameworks, there was no answer.

  • use-asset

    Discontinued 📦 A promise caching strategy for React Suspense

    I tend to use a library called use-asset that accepts a function returning a promise and a dependency array, and it will suspend render until the promise resolves or rejects. It requires using a boundary with a fallback which will be displayed until the promise resolves. https://github.com/pmndrs/use-asset

  • 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.

  • NSwag

    The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

    Alternative library - check out NSwag.

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