Created
October 20, 2020 17:40
-
-
Save rodgeraraujo/63031410b59ea612b895f4e79a535dfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { unref as $, ref, computed } from('vue'); | |
const counter = ref(0); | |
const doubled = computed(() => $(counter) * 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment