Finally now I am going to post few blogs on React and ReactJs. In this blog we are going to learn how we can modify, manipulate or edit JSON data received from API according to your need.
This will be very useful when your backend developer refused to change API response. So not to worry, let it be as it is and convert data on your side before you use it.
For this we are going to use Lodash library, so first of all add it your ReactJs project using npm and import it in your class file.
import _ from "lodash";