hgn's note
Apollo client makeVar
26 - 05 - 2023
- I just figured out yesterday that
apollo client
has this feature called reactive variables. This one remind me of the crazy signal
thing from SolidJS
because “reactive variables” return a function. You use it by invoking the function and its value just update as you wish. It’s a magic and it pose a question of how to debug this variable.
- Btw I’m trying all major animation libraries in one project. The ”no lib” version is cloned from David Huffman. I’ll try to build them by using
gsap
, animejs
, velocityjs
, mojs
and frammer motion
. The original version use canvas with some 2D transform algorithm. Hope it’s not too hard and time consuming.