best approach to fetch data based on state in nextjs 13

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

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • app-playground

    https://app-dir.vercel.app/

    Take a look at the NextJS App Playground example. They have API route examples like this one that shows how to get request params based on the `searchParams` which sounds like it is what you want.

  • Next.js

    The React Framework

    Yeah I use the app playground repo for reference sometimes, I find that is you are using the app directory it is the best place to get examples from Vercel. The NextJS examples repo is mostly page router stuff.

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

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