DEV Community

Discussion on: Stop returning NULL components

 
ivan_jrmc profile image
Ivan Jeremic

Yeah thinking more about it that makes sense. Need to go back and optimize 😫

Thread Thread
 
ucvdesh profile image
Daniel Silva

Yeah bro, a empty fragment also trigger a full lifecycle because of the render of the fragment, as soon as you have it, then the component exist ergo, have its own lifecycle