Brillio Interview Question

react life cycle method?. Use effect