I have a component with a number of static functions defined for it(through the statics property in the component definition). I need to access one of these static functions in the lifecycle method componentDidMount. I tried the following
thisobject has astaticsproperty, but that seems to benullalwaysthisobject also has a_owner, which in turn has astaticsproperty. Again, that is alwaysnull
Then I tried this.constructor.<static_function>. This worked for me. I just wanted to know whether this is the right way to access static functions defined for a component or is there something else that I am unaware of.