Javascript In React Componentdidupdate Not Updating State Stack

Javascript In React Componentdidupdate Not Updating State Stack