• S
    with-apollo: Improve lib/withData (#3973) · cd1d9e0c
    Shaleen Jain 提交于
    * pass down getInitialProps ctx to ComposedComponent
    * pass apollo client instance directly to getDataFromTree instead of through the ApolloProvider wrapper.
    * Avoid redundant empty serverState initialization (It's always initialized)
    cd1d9e0c
withData.js 2.3 KB