Use Call Back Function :
the Use Call Back hook is used when you have a component in which the child is re-rendering agian and agian without need pass an inline callback and an array of dependencies .
Use Call Back Function will return a memorized vesion of callabck that only changes .
if one of the dependencies has changes .
this is useful when passing call back to optimized child component that rely on refernce equality to prevent unnecessary renders.

EX :

Using call Back we can send data from child component to parent component.