how to update package in react code example
Example 1: npm update all
npm update --save
Example 2: update all dependencies npm
npm update //update all local packages
npm update --save
npm update //update all local packages