At client side your app receives instance of the IlcAppSdk via props that are passed to it's lifecycle functions (LifeCycles).
So everything is pretty simple here :) Typings can be loaded in the following way:
Unfortunately during app's SSR we don't have ILC in place.
So we need to use result of the processRequest (which implements AppSdkAdapter) to receive all the necessary
data for IlcAppSdk initialization.
Entrypoint for SDK that should be used within application bundle. It works well with server and client side rendering.
Client side
At client side your app receives instance of the IlcAppSdk via props that are passed to it's lifecycle functions (LifeCycles). So everything is pretty simple here :) Typings can be loaded in the following way:
Example
Server side
Unfortunately during app's SSR we don't have ILC in place. So we need to use result of the processRequest (which implements AppSdkAdapter) to receive all the necessary data for
IlcAppSdk
initialization.Example