Skip to content

Instantly share code, notes, and snippets.

View IAmNatch's full-sized avatar
😇
Making things

Shane Robbins IAmNatch

😇
Making things
View GitHub Profile
{
"scope": "javascript,typescript,javascriptreact",
"Redux Thunk": {
"prefix": "thunk",
"body": [
"export const ${1:FunctionName} = () => {",
" return dispatch => {",
" dispatch({type: ${2:CONSTANT_NAME}})",
" }",
"}"
{
"scope": "javascript,typescript,javascriptreact",
"Redux Thunk": {
"prefix": "thunk",
"body": [
"export const ${1:FunctionName} = () => {",
" return dispatch => {",
" dispatch({type: ${2:CONSTANT_NAME}})",
" }",
"}"
{
"scope": "javascript,typescript,javascriptreact",
"Redux Thunk": {
"prefix": "thunk",
"body": [
"export const ${1:FunctionName} = () => {",
" return dispatch => {",
" dispatch({type: ${2:CONSTANT_NAME}})",
" }",
"}"
{
"scope": "javascript,typescript,javascriptreact",
"Redux Thunk": {
"prefix": "thunk",
"body": [
"export const ${1:FunctionName} = () => {",
" return dispatch => {",
" dispatch({type: ${2:CONSTANT_NAME}})",
" }",
"}"
{
"scope": "javascript,typescript,javascriptreact",
"Redux Thunk": {
"prefix": "thunk",
"body": [
"export const ${1:FunctionName} = () => {",
" return dispatch => {",
" dispatch({type: ${2:CONSTANT_NAME}})",
" }",
"}"