Skip to content

Instantly share code, notes, and snippets.

@sslotsky
Last active December 3, 2017 16:55
Show Gist options
  • Save sslotsky/0a006d791d1880d129067799f59351cc to your computer and use it in GitHub Desktop.
Save sslotsky/0a006d791d1880d129067799f59351cc to your computer and use it in GitHub Desktop.
import React from "react";
import { initialize } from "apothecary";
import { Bridge } from "react-apothecary";
const store = initialize({ n: 1 });
...
export default () => (
<Bridge store={store}>
<CounterApp offset={3} step={4} />
</Bridge>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment