SHARE
TWEET

Untitled

a guest Jul 18th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "const initialState = {}; const reducer = (state, action)": {
  3.     "prefix": "rsr",
  4.     "body": [
  5.       "const initialState = {",
  6.       "  //$1",
  7.       "}",
  8.       "",
  9.       "const reducer = (state, action) => {",
  10.       "  switch (action.type) {",
  11.       "    default:",
  12.       "      return state",
  13.       "  }",
  14.       "}"
  15.     ]
  16.   }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top