UNPKG

@skele/classic

Version:

Skele is an architectural framework that assists with building data-driven apps with React or React Native.

18 lines (11 loc) 384 B
# Transform Transformers are functions that enable simple transformations of elements. A transformer is triggered during the execution of a read. ## `register(kind, fn)` Registers a transformer to a specific kind. ### Usage ```javascript import { transform } from '@skele/classic' transform.register('scene', element => element.setIn(['metadata', 'title'], 'Home page') ) ```