PipedreamHQ / PipedreamHQ/pipedream
[BUG] Unsupported react version in connect-react package
- Dominant language
- JavaScript
- Stars
- 11.7k
- Forks
- 5.8k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 102
Description
**Describe the bug**
The connect-react package states that it supports react 16 and 17, but it uses a react 18 import, useSyncExternal store
https://github.com/PipedreamHQ/pipedream/blob/master/packages/connect-react/package.json#L47
**To Reproduce**
1. use connect-react in a project using react 17
2. See error pop up for missing import
**Expected behavior**
The stated versions are supported and no errors occur
**Additional context**
See usage in @pipedream/connect-react/dist/connect-react.es.js on line 11014:
https://www.npmjs.com/package/@pipedream/connect-react?activeTab=code#:~:text=if%20(te.useSyncExternalStore,11014
Contributor guide
Assessment
This issue has not been assessed yet.