getSsrContext() — Gets SsrContext object
(the server-side rendering context, which is used to pass global-state-related
data between rendering iterations).
withGlobalStateType — Returns a set of library components, classes,
and hooks "locked-in" onto a specified state type. Thus, making it unnecessary
(in TypeScript) to pass the state type as a generic parameter for each component,
class, and hook, when they are used, and allowing TypeScript compiler to
auto-evaluate their other generic parameters in many cases.