1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples
Jerome Fitzgerald a450502a0d [fix] with-apollo: Cannot read property 'data' (#3226)
* [fix] with-apollo: Cannot read property 'data'

When we create the initial serverState, we need to create the
 eventual construct of the Apollo Data to reside within

Later in the constructor this allows for the initApollo to either
 be generated from SSR, or to init from scratch.

Fixes
> Cannot read property 'data' of undefined
> TypeError: Cannot read property 'data' of undefined

* [refactor] with-apollo: reduce init `serverState`

No need to explicitly set `data` as empty.
This trims up 4 lines. 😀
2017-11-04 11:24:16 +01:00
..
active-class-name Make sure linting passes 2017-10-31 08:58:00 +01:00
basic-css Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
custom-server Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
custom-server-express Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
custom-server-fastify Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
custom-server-hapi Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
custom-server-koa Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
custom-server-micro Ease running multiple examples at the same time with process.env.PORT (#2753) 2017-08-10 20:15:46 +02:00
data-fetch Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
form-handler Example: Form handler with Redux and React-bootstrap (#2949) 2017-09-19 21:24:28 +02:00
head-elements Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
hello-world Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
layout-component Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
nested-components Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
page-transitions Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
parameterized-routing Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
progressive-render Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
root-static-files Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
shared-modules Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
ssr-caching Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
svg-components fix #1833, update all examples. (#1834) 2017-04-30 07:29:37 -07:00
using-inferno Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
using-preact Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
using-router Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
using-with-router Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-absolute-imports Example: with absolute imports (#2863) 2017-08-30 20:03:36 +02:00
with-algolia-react-instantsearch docs: add algolia-react-instantsearch example (#2544) 2017-07-12 20:00:47 +02:00
with-amp Fix with-amp example (#3153) 2017-10-23 14:37:45 +02:00
with-ant-design Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-antd-mobile Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-aphrodite Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-apollo [fix] with-apollo: Cannot read property 'data' (#3226) 2017-11-04 11:24:16 +01:00
with-apollo-and-redux [update example - with-apollo-and-redux] pin dependencies (#3130) 2017-10-19 14:42:24 +02:00
with-apollo-auth Example: with absolute imports (#2863) 2017-08-30 20:03:36 +02:00
with-asset-imports Fix typo in README (#3038) 2017-10-03 22:13:07 +02:00
with-babel-macros Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-cerebral Add Cerebral example (#2976) 2017-09-23 16:30:22 +02:00
with-configured-preset-env Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-custom-babel-config Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-custom-reverse-proxy Ease running multiple examples at the same time with process.env.PORT (#2753) 2017-08-10 20:15:46 +02:00
with-cxs Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-dotenv Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-dynamic-import Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-electron Linked post about Next.js + Electron 2017-08-19 16:37:09 +02:00
with-emotion emotion v8 + adjustments for breaking changes (#3054) 2017-10-09 23:18:37 +02:00
with-external-scoped-css Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-fela Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-firebase-authentication Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-firebase-hosting Update with-firebase-hosting. (#3032) 2017-10-05 08:28:46 +02:00
with-flow Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-freactal Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-glamor Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-glamorous Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-global-stylesheet Uplift with-global-stylesheet example (#3076) 2017-10-11 21:32:45 +02:00
with-global-stylesheet-simple Add with-global-stylesheet-simple (#3157) 2017-10-23 20:25:16 +02:00
with-hashed-statics Update the hash-statics example to support sub-dirs (#3015) 2017-09-30 09:00:23 +02:00
with-higher-order-component Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-i18next Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-jest Jest example updated (#3123) 2017-10-17 20:59:22 +02:00
with-loading Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-material-ui Normalize example package.json files (#2350) 2017-06-23 10:46:44 +02:00
with-material-ui-next docs(material-ui): move the source code to Material-UI repository (#2808) 2017-08-18 22:42:45 +02:00
with-mobx Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-next-routes Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-noscript Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-pkg Ease running multiple examples at the same time with process.env.PORT (#2753) 2017-08-10 20:15:46 +02:00
with-prefetching Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-pretty-url-routing Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-react-ga Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-react-helmet Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-react-i18next Ease running multiple examples at the same time with process.env.PORT (#2753) 2017-08-10 20:15:46 +02:00
with-react-intl Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-react-md Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-react-toolbox Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-react-uwp Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-react-with-styles Fix/Update react-with-styles & aphrodite example (#3224) 2017-11-01 19:53:45 +01:00
with-reasonml typo on line 7 (#3031) 2017-10-02 16:12:52 +02:00
with-rebass Example Rebass (#2490) 2017-07-08 14:05:46 +02:00
with-recompose With recompose (#2712) 2017-08-07 19:37:44 +02:00
with-redux Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-redux-code-splitting Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-redux-reselect-recompose Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-redux-saga Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-refnux Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-relay-modern Merge v3-beta into master (#2809) 2017-08-27 22:13:35 +02:00
with-scoped-stylesheets-and-postcss Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-semantic-ui Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-shallow-routing Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-socket.io Update React on with-socket.io example (#3151) 2017-10-23 11:23:50 +02:00
with-static-export Use https to prevent mixed content when served over https (#2741) 2017-09-01 11:54:03 +05:30
with-styled-components Update styled components for React 16 (#3187) 2017-10-26 21:29:53 +02:00
with-styled-jsx-plugins Add styled-jsx-plugin-sass example (#3104) 2017-10-16 12:08:24 +05:30
with-styled-jsx-postcss Make styled-jsx configurable (#3050) 2017-10-15 19:54:57 +02:00
with-styled-jsx-scss [chore] Examples: styled-jsx-plugin-sass@0.2.0, show dynamic (#3137) 2017-10-20 19:29:02 +02:00
with-styletron Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-sw-precache Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-typescript Update TypeScript example (#3074) 2017-10-11 21:36:04 +02:00
with-universal-configuration Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-url-object-routing Upgrade React for all examples (#3113) 2017-10-17 08:11:46 +02:00
with-webpack-bundle-analyzer Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
with-webpack-bundle-size-analyzer Upgrade React for examples with next@latest (#3196) 2017-10-28 09:26:00 +02:00
.babelrc Babelrc false babelrc (#1094) 2017-02-13 06:18:22 +09:00
.gitignore Remove yarn.lock from examples (#912) 2017-01-29 05:48:53 +05:30