I have a component that renders if some conditions are met, otherwise it returns null.
I'd like to know how to determine if the component is returning null from its parent.
I have tried logging the component to see what properties are changing when it is rendered or when returning null but can not detect any difference.
Any suggestions?
nullfrom a parent?null. That is an important boundary in the abstraction. You probably could extract a rendering function and then check the result, but this isn't a good pattern in general.