The React Show cover image

React FAQ

The React Show

00:00

Reactes - Using the Key Propis

The key propis is used to match up your output to what it puts on the screen. If you're not using the same key for the same item every time it renders, it's going to be re drawing all that stuff on the screen every single render. You need a stable key. So even if the serveris like, returning things in a different orderand at different times, those keys should always be the same. That's what it means, that they should be stableor or static. This is super, superimportant. In fact, this is required.

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