civiccc / civiccc/react-waypoint
Typescript error
Open
- 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
Assessment
This issue has not been assessed yet.