InnovationM Interview Question

Basic JS concept like hoisting, closure, promise etc In react, they asked lifecycle in class and functional compenent