<Resolve>

FaCC that resolves a promise.

Usage

import {Resolve} from 'libreact/lib/Resolve';

<Resolve promise={promise}>{({pending, value, error}) =>
  pending ? null : JSON.stringify(value)
}</Resolve>

results matching ""

    No results matching ""