i have a button placed inside my cutsom component. On click
of it i set some values in an array (which is global). After that i
am calling the invalidateProperty() of my parent custom component.
What I am noticing is it is first calling the
invalidateProperites() method of parent component first and then
setting the values i set on click of the button.