Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
@phenomic/preset-react-app: improve doc for page 3
Browse files Browse the repository at this point in the history
Closes #1244
  • Loading branch information
MoOx committed May 10, 2018
1 parent 0c217d4 commit 3d0b37f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/preset-react-app/docs/getting-started/03.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ const BlogPost = ({ isLoading, page }) => (
</div>
);

// ...
export default createApp(() => (
// ...
))

const BlogPostContainer = withPhenomicApi(BlogPost, props => ({
page: query({ path: "content/posts", id: props.params.splat })
}));
Expand Down

0 comments on commit 3d0b37f

Please sign in to comment.