Annotation disappears on subsequent re-renders
See original GitHub issueI’ll have to take a closer look later, but it appears that when re-rendering the component, the animation state goes from showing
to not-showing
, here’s an example where the rerender is triggered by a theme change:
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
You're overusing useMemo: Rethinking Hooks memoization
In some cases, useMemo is irrelevant, overused, and harmful to your application performance. Learn these situations and how to avoid them.
Read more >react native - Image disappears on component re-renders
I've wrapped it in a useCallback so the function is only called when the media value changes. However using console logs I am...
Read more >Top 8 Most Common Backbone.js Developer Mistakes - Toptal
Imagine if you actually stored state tracking variables on views and had to call the render method every time you changed them. Missing...
Read more >Rerendering Partial Page Content - Oracle Help Center
This chapter describes how to use the partial page render features provided with ADF Faces components to rerender areas of a page without...
Read more >Documentation - </> htmx
The next easiest way to install htmx is to simply copy it into your project. ... and want to rerender with the //...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
They added property changes in https://github.com/pshihn/rough-notation/pull/31, I will import it to this library and check if it need fixes
97005e7 only solved half of the problem I’m afraid, you’ll also need to show the newly created annotation when one of the props has changed.
Example: https://codesandbox.io/s/react-rough-notation-reactivity-zuheb?file=/src/App.js