Skip to content

Instantly share code, notes, and snippets.

@yusinto
Last active June 2, 2018 12:11
Show Gist options
  • Save yusinto/a31074588c26c2ce747505bcbd49400b to your computer and use it in GitHub Desktop.
Save yusinto/a31074588c26c2ce747505bcbd49400b to your computer and use it in GitHub Desktop.
withFlagProvider example
import {withFlagProvider} from 'ld-react';
import Home from './home';
const App = () =>
<div>
<Home />
</div>;
export default withFlagProvider(App, {clientSideId: 'your-client-side-id'});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment