S
SolidJS17mo ago
gsoutz

createEffect doesn't fire for a memo passed as prop to a third party component

Everything works perfectly in dev mode, but when I do vite build and vite preview, it doesn't trigger update breaking the ui, this happens on the live site. so please fix this asap. The example repo is here https://github.com/eguneys/aidchess-hardcore/blob/master/src/predict.tsx#L145 https://github.com/eguneys/chessreplay23/blob/master/src/view.tsx#L10
GitHub
aidchess-hardcore/predict.tsx at master · eguneys/aidchess-hardcore
Contribute to eguneys/aidchess-hardcore development by creating an account on GitHub.
GitHub
chessreplay23/view.tsx at master · eguneys/chessreplay23
Contribute to eguneys/chessreplay23 development by creating an account on GitHub.
1 Reply
gsoutz
gsoutz17mo ago
Ok this happens because solidjs is included multiple times once from the library once from the main application. But I have "external" solid-js config in rollup why does this happen. Why nobody cares about this problem. There are variables like createSignal createSignal$1 createSignal$2 what is this. I think vite plugin solid is broken