createOrGetInitialHookState

fun <T> createOrGetInitialHookState(key: String, hookIndex: Int, initializer: HookInitializer<T>, componentName: String): KStateContainer

If an initial state for this component has already been created just return it, otherwise execute the initializer and cache the result.