Closed petchill closed 2 weeks ago
If I understand correctly, this bug only exists on the dev server (SSR) but not on the staging (SSG).
I think there is some variable, or function in the component that depends on the props but doesn't "reactive" (prefix with$:
) so when we change the page on SSR the value was calculated once since SvelteKit will render only what it thinks necessary, but on SSG it's working fine because it is a full reload on different page.
For anyone who wants to fix this, the solution would be to turn those variables/function that depends on props to be reactive. Read more about Svelte's reactivity declaration
EDIT: OK This bug appears on production as well. Look like SvelteKit doesn't use full reload even on SSG.
Fixed in #91 but needs some time to be merged to main and deployed.
Describe the bug Half donut chart in section นักการเมือง is frozen
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be changed related to data set
Screenshots this is first time
this is after I change data set
you can see chart is frozen even though data in right section is changed.
Desktop (please complete the following information):