Should we put all Context Providers at the very top of the app?

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
  • nextjs-starter-medusa

    A performant frontend ecommerce starter template with Next.js 14 and Medusa.

  • Hello guys! I'm investigating a repo from this link: https://github.com/medusajs/nextjs-starter-medusa/blob/main/src/pages/_app.tsx. This is an e-commerce template for Medusa.js. As you can see in the `_app.tsx`, all the Context Providers are located here which confused me a bit. After searching through the codebase, I found out that the `MobileMenuProvider` is only working in the `Nav` component, other components don't need it.

  • 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