proxy-client-react icon indicating copy to clipboard operation
proxy-client-react copied to clipboard

Fix context value reference changing across rendering

Open Criezc opened this issue 8 months ago • 1 comments

Related Issues

  • #193

About the changes

Implemented useCallback to maintain stable function references across render cycles. This prevents performance issues caused when unmemoized functions create new instances on each render.

Important files

  • FlagProvider.tsx:109-150

Criezc avatar Mar 19 '25 08:03 Criezc