[QUESTION] - TabPanel is re-rendering on Tab change. How can I prevent re-rendering? #2275
Unanswered
sujit-baniya
asked this question in
PrimeReact
Replies: 1 comment
-
Well it dynamically switching tabs i would expect it to re-render? You could try to memoize the panels to see if that helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've forked code from website and made some changes
https://stackblitz.com/edit/s5hnpw?file=src%2FApp.jsx
Here the TabPanel is re-rendering.
How can I prevent re-rendering?
Beta Was this translation helpful? Give feedback.
All reactions