Skip to content

Instantly share code, notes, and snippets.

@sonicoder86
Created July 14, 2020 07:56
Show Gist options
  • Save sonicoder86/361d7370d14e6a899047bbdda99962fb to your computer and use it in GitHub Desktop.
Save sonicoder86/361d7370d14e6a899047bbdda99962fb to your computer and use it in GitHub Desktop.
You Might Not Need Vuex - part 1
import { reactive } from 'vue';
export const state = reactive({ counter: 0 });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment