Comments (3)
Thanks for looking into it @MarceloSpessoto. I feel like this is not a niche issue and/or has implications on a lot of production builds so it would be nice to get more visibility on this.
As a stop-gap, I wrapped the extracted child component in a useCallback
. I'll be sure to update this thread when I get the chance to do more digging.
from react.
Figured out the issue is specific to re-rendering nested components. Still seems like unexpected behavior, so I'm reopening the issue with appropriate edits.
Definitely possible that I'm overlooking something obvious, so please feel free to reply with your thoughts
from react.
Hello @greebl3 , looks like the onTouchEnd event listener breaks as soon as the nested component is re-rendered for the first time.
I agree with you that this behavior is unexpected and I'll try to check how to deal with that. Have you found any solution/extra insight during this week?
from react.
Related Issues (20)
- Bug: eslint-plugin-react-hooks hangs on function with many conditionals
- Bug: typescript can't determine well useMemo value HOT 3
- Bug: Removal of custom element property sets it to `null` rather than `undefined` HOT 2
- [feat] I hope react supports two instructions r-if and r-for HOT 2
- Name property is not defined for option in the animation color dropdown. HOT 2
- Bug: StrictMode is causing issue when value is calculated using ref value HOT 9
- Updated the README.md file
- [DevTools Bug]: Big Memory Leak HOT 2
- Bug: hot-reload not working with express HOT 3
- Input value leak in chrome browser heap memory HOT 1
- User is unable to select multi color options at once. HOT 3
- Black CSS problem HOT 3
- Bug: <Suspense> fallback is rendered inconsistently when thereโs a hydration mismatch + the boundary suspends during hydration HOT 1
- Bug: Parent rerenders unnecessarily on Child-to-Parent setter call, while child rerenders only when changes occur. HOT 6
- Bug:
- Bug:
- Bug:
- We are not able to adjust the width of the column header via keyboard. HOT 2
- cart issue HOT 1
- Bug: cart issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.