Vue reactivity demo

This is a simple demo showing a vue-like reactivity system. It is very basic, and is meant to show a version of useEffect() like functionality but without specifying a dependency list.

This uses es6 proxy objects to wrap around an object and make it reactive.. In my opinion this is a much nicer way than React's hook system.

Click with your mouse to trigger an update to the 2 reactive objects, and the page will update. There is also a setInterval running every 1s to update the age.