Question from the React ⚛️ test

Call a function on the first render of a React component

Easy

I want to call callSomeFunction on the first render of my component, what is the correct syntax?

Author: Clément DEVOSStatus: PublishedQuestion passed 4076 times
Edit
12
Community EvaluationsNo one has reviewed this question yet, be the first!