question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Annotation disappears on subsequent re-renders

See original GitHub issue

I’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: CleanShot 2020-05-30 at 07 23 43

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
linkstrifercommented, Jun 4, 2020

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

1reaction
franky47commented, May 31, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found