Home Reference Source Repository

Function

Static Public Summary
public

profile(): *

public

pureStamp(defaults: Object): function

Creates an optimized pure compose function with dependencies tacked onto it for easy lib propagation.

Static Public

public profile(): * source

import profile from 'pure-stamp/lib/desc/profile.js'

Return:

*

public pureStamp(defaults: Object): function source

import pureStamp from 'pure-stamp'

Creates an optimized pure compose function with dependencies tacked onto it for easy lib propagation.

Params:

NameTypeAttributeDescription
options.React Object

React dependency.

options.shallowCompare Object

React shallowCompare add-on dependency.

options.deps Array<Object>

Optional dependencies to propagate.

defaults Object

Optional configuration object to propagate.

Return:

function

pure compose function with propagated dependencies and defaults.