Skip to content

Instantly share code, notes, and snippets.

View jtibbertsma's full-sized avatar
🌪️
Yo

Joseph Tibbertsma jtibbertsma

🌪️
Yo
View GitHub Profile
@jtibbertsma
jtibbertsma / actions.js
Last active December 28, 2020 06:23
react-native-navigation redux middleware example
import { createAction } from 'redux-actions';
import {
NAVIGATION_PUSH,
NAVIGATION_POP,
NAVIGATION_RESET_TO,
NAVIGATION_POP_TO_ROOT
} from './actions';
export const push = createAction(NAVIGATION_PUSH);
export const pop = createAction(NAVIGATION_POP);