civiccc / civiccc/react-waypoint

Typescript error

Open
#356 1 comment 14 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

Hi everyone. I have problem with react-waypoint and typescript.
I have migrated project to typescript 4.1.5
after starting the application I get the error
```'Waypoint' cannot be used as a JSX component.
Its instance type 'Waypoint' is not a valid JSX element. TS2786
```
package versions
"react-waypoint": "10.1.0",
"react": "^17.0.1",
"typescript": "4.1.5",
any ideas about how it fix

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.