Function: useGlobalProps()
useGlobalProps():
GlobalProps
A React Hooks for you to get lynx.__globalProps.
With globalPropsMode: 'event', the component re-renders when lynx.__globalProps changes;
in the default 'reactive' mode, updates arrive through a full re-render.