Skip to content

Blank page  #11

@inteldon

Description

@inteldon

Follow the tutorial and got a blank page. I get a few error messages on the browser that go like this:

Uncaught TypeError: cache.transformDocument is not a function

I also tried to incorporate this into my app that uses react-router to route pages, so I create a "TestPage" component and tried using it to demo the calls to graphql server and the results were blank, again. This time the message was as follows:

`
The above error occurred in the component:
in Query (created by Apollo(TestPage))
in Apollo(TestPage) (created by Context.Consumer)
in Route (created by App)
in Switch (created by App)
in div (created by App)
in Router (created by HashRouter)
in HashRouter (created by App)
in App (created by ApolloApp)
in ApolloProvider (created by ApolloApp)
in ApolloApp

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
`

I also tried cloning the git repo and use the examples and they also returned a blank page.

Great tutorial and examples but those tiny details ruined it for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions