6.When to use a Class Component over a Function Component? Posted on March 27, 2019 by admin 0 If the component needs state or lifecycle methods then use class component otherwise use function component. Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website