How can I force a re-render react component Chart(react-chart.js) and update the custom plugin? (CodeSandbox)
I made tooltips for all points using the plugin with two background colors dark and light. But the plugin works only after refreshing page. I made a code sandbox to show a problem. When you’ll open sandbox, you’ll see a button toggle. Click on dark theme and refresh page.