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
Closed
Description
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:
- Create a new app with "https://github.com/wmonk/create-react-app-typescript"
- Add Apollo dependencies per the Quickstart
yarn add apollo-boost graphql react-apollo@beta
- Add Apollo provider per documentation
- Receive error message
Version
- apollo-client@2.2.5
- apollo-boost@0.1.1
- react-apollo@2.1.0-beta3
Metadata
Metadata
Assignees
Labels
No labels