Smarsh Interview Question

System design and React life cycle method