RSSAmplifier

Dylan Paulus' Blog · Oct 18, 2018

React: Controlling Rendering with Keys

0
Sign in to vote or save

This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.

key , the property we throw some value into to suppress warnings. This property is used by React to determine when a component is deleted, updated, or created. We generally don't interact much with the key prop--except in loops. My team recently ran into an issue lately--how do we rerender all child components when a state has changed? The simplest approach... you guessed it, key ! Let's take a…

Read on dylanpaulus.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.