SPA app - reusing chart or not - or best approach #4097
Unanswered
OpreaFlorin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I have a SPA application. In one section I have a chart. This chart is initialized only if the user reaches that section. Also, when the user visits that section again, the chart should be reused.
At this moment I have a variable that remembers if that chart has already been created (to update it) or if it is already created and it is only necessary to update it.
How do you proceed and what is the best approach?
Is it a good idea to update it or should I delete the old one and create a new chart always?
How do you proceed?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions