CKStatelessComponent Class Reference

Inherits from CKCompositeComponent
Declared in CKStatelessComponent.h

Overview

CKStatelessComponent is a component that can be represented with a pure function that takes props and returns component hierarchy. This component adds a string identifier to store the debug information about the calling function

+ newWithView:component:identifier:

Passed to CKComponent’s initializer.

+ (instancetype)newWithView:(const CKComponentViewConfiguration &)view component:(CKComponent *)component identifier:(NSString *)identifier

Parameters

view

Passed to CKComponent’s initializer.

component

Result component hierarchy generated by the stateless functional component

identifier

Debug identifier of the stateless functional component.

Declared In

CKStatelessComponent.h