Categories

Nov 26, 2019 in React JS

Q:

When would you use a Class Component over a Functional Component?

1 Answer

Nov 26, 2019

If your component has state or a lifecycle method(s), use a Class component. or else, use a Functional component

Click here to read more about React JS
Click here to read more about Insurance

Related questions

Madanswer
Mar 30 in React JS
Nov 26, 2019 in React JS
Jul 2, 2019 in React JS
...