From 5ede8c9dc351af94ce88aea9143bef5c347fee78 Mon Sep 17 00:00:00 2001 From: Brian Dombrowski Date: Thu, 23 Nov 2017 08:05:51 -0500 Subject: [PATCH] More complete with-apollo-and-redux example with dynamic post route (#3223) * More complete with-apollo-and-redux example with dynamic post route * Removed commented out code --- .../components/Header.js | 4 ++ .../with-apollo-and-redux/components/Post.js | 41 +++++++++++++++++++ .../components/PostList.js | 3 +- examples/with-apollo-and-redux/package.json | 5 ++- .../with-apollo-and-redux/pages/blog/entry.js | 11 +++++ .../with-apollo-and-redux/pages/blog/index.js | 13 ++++++ examples/with-apollo-and-redux/pages/index.js | 3 +- examples/with-apollo-and-redux/server.js | 40 ++++++++++++++++++ 8 files changed, 115 insertions(+), 5 deletions(-) create mode 100644 examples/with-apollo-and-redux/components/Post.js create mode 100644 examples/with-apollo-and-redux/pages/blog/entry.js create mode 100644 examples/with-apollo-and-redux/pages/blog/index.js create mode 100644 examples/with-apollo-and-redux/server.js diff --git a/examples/with-apollo-and-redux/components/Header.js b/examples/with-apollo-and-redux/components/Header.js index 937e5b10..2945d0c7 100644 --- a/examples/with-apollo-and-redux/components/Header.js +++ b/examples/with-apollo-and-redux/components/Header.js @@ -10,6 +10,10 @@ export default ({ pathname }) => ( About + + Blog + +