Simform interview question

hooks vs life cycle method