Usage of react-panresponder-web, which is incompatible with React newer than 16
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, react
- Domain
- frontend
Research direction
Start by inspecting the react-panresponder-web dependency and its use of react-dom/unstable-native-dependencies and injectEventPluginsByName. Compare the current react-native-web responder event implementation and useResponderEvents hook; done means the library works with React versions newer than 16.
Written by the indexing model from the issue text.
Description
I see this library no longer works with a newer version of React than 16. I tried to debug this issue, and found the following:
This is because it uses react-panresponder-web, which in turn depends on react-dom/unstable-native-dependencies (that no longer exists). It seems to use injectEventPluginsByName and a forked version of the react-native-web ResponderEventPlugin.
injectEventPluginsByName was removed in some newer version of React, and ResponderEventPlugin was removed in this commit and replaced with a useResponderEvents hook.
I attempted to fix this but i am not quite sure how to proceed. I see that react-native-web now has a new Responder Event System implementation: https://github.com/necolas/react-native-web/issues/1568. This uses hooks, but it should be possible to wrap this around a class component as well.
I would be very grateful if you could fix this issue, or atleast give me a few pointers on how to proceed with fixing this.
- Dominant language
- JavaScript
- Stars
- 58
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from arqex/react-interactable
-
Cannot find module Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
arqex/react-interactable#5 · 1 comment ·
All issues in arqex/react-interactable
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·