3 ms·
See preactjs/signals. Vue calls a Signal a Ref but otherwise the APIs are similar. I imagine there’s an implementation for React too, and one can even use the
by chuckadams 2y ago
See preactjs/signals. Vue calls a Signal a Ref but otherwise the APIs are similar. I imagine there’s an implementation for React too, and one can even use the Vue reactivity API in React, but that’s wandering way off the beaten path for anyone to be learning that way.
- deleted 2y ago[deleted]