advanced context with hooks. Trying to pass custom methods int the provider value

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

    🐻 Bear necessities for state management in React

  • There's a handful of very tiny state management solutions that resolve this rerendering issue if you do run into performance issues down the road. Zustand, Recoil, and Jotai being the most popular of the minimalist solutions. Simple example comparing Zustand and Context that I made for a friend a while back. If you're doing this kind of thing all over the place, a more robust solution like MobX or Redux is probably a good thing to look into.

  • Recoil

    Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

  • There's a handful of very tiny state management solutions that resolve this rerendering issue if you do run into performance issues down the road. Zustand, Recoil, and Jotai being the most popular of the minimalist solutions. Simple example comparing Zustand and Context that I made for a friend a while back. If you're doing this kind of thing all over the place, a more robust solution like MobX or Redux is probably a good thing to look into.

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

    👻 Primitive and flexible state management for React

  • There's a handful of very tiny state management solutions that resolve this rerendering issue if you do run into performance issues down the road. Zustand, Recoil, and Jotai being the most popular of the minimalist solutions. Simple example comparing Zustand and Context that I made for a friend a while back. If you're doing this kind of thing all over the place, a more robust solution like MobX or Redux is probably a good thing to look into.

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