Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "const initialState = {}; const reducer = (state, action)": {
- "prefix": "rsr",
- "body": [
- "const initialState = {",
- " //$1",
- "}",
- "",
- "const reducer = (state, action) => {",
- " switch (action.type) {",
- " default:",
- " return state",
- " }",
- "}"
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement