When inspecting a component that is missing `context` it is displayed as an empty object, meanwhile if the `state` is not initialized it is not displayed at all, for no `props` it is displayed the string `None`. In my humble opinion it is misleading that no context is displayed as an empty object.
});
          if (owner._currentElement) {
            owner = owner._currentElement._owner;
          }
        }
      }
    }
    const publicInstance = internalInstance._instance;
    if (publicInstance != null) {
      context = publicInstance.context || null;
      state = publicInstance.state || null;
    }
    return {
      id,
      
      canEditHooks: false,
      
      canEditFunctionProps: true,
      
      canToggleSuspense: false,
      
      canViewSource: type === ElementTypeClass || type === ElementTypeFunction,
      displayName: displayName,
      type: type,
      
      context,
      hooks: null,
      props,
      state,