Skip to content

Instantly share code, notes, and snippets.

---
import { withBranch, renderComponent } from 'recompose';
withBranch(
props => props.data.loading,
renderComponent(CustomGhostComponent),
);
---
import { withProps, compose } from 'recompose';
import { withGhost } from '@aap/boostrap';