Skip to content
Advertisement

Tag: lifecycle

How to call a method once a component is rendered?

I have a parent component that conditionally renders two components. Once I am done entering data in the first component, I click done and then render the second component. I want the second component to only then parse all the data I entered in the first component. Im a little confused which lifecycle method I am supposed to be using.

Advertisement