Valerii Smirnov
Valerii Smirnov
Helps with yarn ```json "resolutions": { "swagger-typescript-api/**/typescript": "4.7.4" } ```
> I'd love to be able to create a video timeline scrub with canvas. > > I made one with react native ffmpeg but it feels pretty over-engineered. See [here](https://medium.com/nollie-studio/creating-a-smooth-and-interactive-video-timeline-with-react-native-and-ffmpeg-8c6624ad90ca)...
I think crazy good, but I've performance concerns
I've used animated images (webp). It looks like video, if preload all frames
Don't know, maybe you should check it
main feature of `useComputed` is fact that it is not reexecuted on every rerender. The real way to check it - on babel plugin level, generate code which compares signals...
But I don't think it's a good idea. I think it's better to have convention that you should provide stable signal refference into child component. Or if you can't -...
Btw, here is [my hook](https://github.com/XantreGodlike/preact-signals/blob/main/packages/utils/src/hooks/useLinkedSignal.ts) that solve the issue Here is fixed example: https://stackblitz.com/edit/vitejs-vite-xtukpt?file=src%2Fapp.jsx [scrnli_12_28_2023_5-15-47 PM.webm](https://github.com/preactjs/signals/assets/57757211/00af0560-00a8-4a0e-8ca3-f8b6ed57cb6d)
@noopurphalak All library work both in react and preact. This hook too
If you will change reference of signal in context provider - it will rerender bottom components, but signal in `useComputed`, `useSignalEffect` closures will not update