score:1

just a guess, but check if you use the parameter of the function shouldcomponentupdate and not the "this.prop" or "this.state" from your component. the current props/state will give you the old props/state. the new prosp/state is in the import parameters like nextprops/nextstate.

shouldcomponentupdate: function(nextprops, nextstate) {
  return nextprops.id !== this.props.id;
}

Related Query

More Query from same tag