react

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

How do you find the source of an infinite re-render?

I have a custom hook that I’m working on to make a fetch request to an api, and it is causing infinite re-renders. I’m struggling a bit to understand how the various parts of my application fit together – in particular, my store (zustand) is using a middleware (immer) for immutable state, and I’m not certain why its...

Virtua (virtual scrolling library for react)

I started using Virtua for Voyager and I’m really impressed! It has a dead simple API (wrap existing .map with VList component), avoids rerendering items on scroll like other solutions, doesn’t glitch on iOS devices with unknown height items like many other libraries, super small footprint. The author is also very...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • react@programming.dev
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • megavids
  • lostlight
  • All magazines