Bro, I haven't used this so far. But when I search, I am seeing that compose is mainly used for reusing the validator. The documentation says, Compose is used to compose multiple validators into a single function. I need to learn more on this.
@@karthikrachamadugu5275 look at the video(s), he had already explained the same. You need to use it like below to get the effect of componentDidUpdate: useEffect(( () => console.log('count:' + count) ),[count])
Nice explanation
Thank you very much
what is validator.compose in angular bro ?
Bro, I haven't used this so far. But when I search, I am seeing that compose is mainly used for reusing the validator. The documentation says, Compose is used to compose multiple validators into a single function. I need to learn more on this.
So by using only one useEffect we can maintain entire component
Yes bro
@@WebTechTalk what is equavelent of componentDidUpdate In React?
@@karthikrachamadugu5275 look at the video(s), he had already explained the same. You need to use it like below to get the effect of componentDidUpdate:
useEffect((
() => console.log('count:' + count)
),[count])