can someone TLDR-explain how react-redux is able to trigger rerenders for only the pieces of state that changed? As opposed to context+useReducer

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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • rfcs

    RFCs for changes to React (by reactjs)

  • There are different methods of bailing out of a hook. There's an RFC in the React repo to build context selectors it into the library here: https://github.com/reactjs/rfcs/pull/119

  • use-context-selector

    React useContextSelector hook in userland

  • And then there's this library that will allow you to accomplish this: https://github.com/dai-shi/use-context-selector

  • 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
  • react-redux

    Official React bindings for Redux

  • React-Redux uses the bits strategy, which you can see here: https://github.com/reduxjs/react-redux/issues/1018

  • invoice-app

  • This is my first attempt at building a global state with context and reducers. Does this implementation look correct?

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