Skip to content

Instantly share code, notes, and snippets.

@coffee-cup
Created October 23, 2019 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coffee-cup/d3b60736f53b65207821274a034d1dac to your computer and use it in GitHub Desktop.
Save coffee-cup/d3b60736f53b65207821274a034d1dac to your computer and use it in GitHub Desktop.
import { state } from "./model";
const increaseCount = () => {
state.count++;
};
const decreaseCount = () => {
state.count--;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment