Hoang Nguyen
Hoang Nguyen
SSolidJS
Created by Hoang Nguyen on 7/20/2024 in #support
component not update
I'm trying to build Unovis for Solid, but I'm facing a problem similar to this issue https://github.com/f5/unovis/pull/272#issuecomment-1747767724. With the code that I commented on, the data only updates when it is in the container; if it's in an individual component, it won't update at all. I made some changes to try to fix it, but the result was not what I imagined. When the data changes, it should show a morphing animation. In my code, it does this if the data is in the container, but if the data is in the line component, it shows flashing content instead. Here is my code https://stackblitz.com/edit/github-mievkb?file=src-demo%2Findex.tsx
6 replies