Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Typescript + react-apollo beta + webpack fails / Typescript example does not run #1750

Description

@joearasin

Intended outcome:

Using the beta react-apollo in a typescript app.

Actual outcome:

Received an "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined"

How to reproduce the issue:

  1. Create a new app with "https://github.com/wmonk/create-react-app-typescript"
  2. Add Apollo dependencies per the Quickstart yarn add apollo-boost graphql react-apollo@beta
  3. Add Apollo provider per documentation
  4. Receive error message

Version

  • apollo-client@2.2.5
  • apollo-boost@0.1.1
  • react-apollo@2.1.0-beta3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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