The Library Bookmarks · Notes · Snippets

← Back to the front page Filed

Why am I getting a React re-render 🤔???

Read it at joshwcomeau.com ↗ react

key and id for React/Apollo respectively let each other whether or not to re-render state, causing entire refreshes in the UI when they’re not there

Why am I getting a React re-render 🤔???

■