Function: GlobalPropsProvider()
GlobalPropsProvider(
props:object):ReactNode|Promise<ReactNode>
The Provider Component that provide lynx.__globalProps.
Only needed with globalPropsMode: 'event'; in the default 'reactive' mode it renders its children directly
and updates come from a full re-render.
Parameters
Returns
ReactNode | Promise<ReactNode>
Example
With globalPropsMode: 'event':