The React Show cover image

React FAQ

The React Show

00:00

Is There a React Key That's Unique?

A react uses this sort of herustic algaritm when it's rendering to detect when a dom component on the screen, or whatever platform you're using, needs to be up dated. The way that we're going to get around that is wer going to force you to give us this unique key so we can do our stuff with the less performance issues. Of course, this is weird and confusing, and it always is when your abstraction is leaking into other places. That's not good design. It makes sense why they did this. But yo, it just a reminder, if you're new, you know, make sure your key is unique. And also, makes sure

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app