civiccc / civiccc/react-waypoint

Error: Element type is invalid

Open
#358 0 comments 8 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

I got this error when I import the package into my component:

`import { Waypoint } from 'react-waypoint'`

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Using React 17.02 (with next.js 12).

Any ideas what's going on here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.