Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit c70c7f9

Browse files
bencergazdajamonholmgren
authored andcommitted
feat(deps): upgrade react-navigation-redux-helpers to v3.0.2, react-navigation to v3.11.0 (#279 by @bencergazda)
1 parent 6ec64a7 commit c70c7f9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

boilerplate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async function install(context) {
151151
await system.spawn(`ignite add ${boilerplate} ${debugFlag}`, { stdio: 'inherit' })
152152

153153
// now run install of Ignite Plugins
154-
await ignite.addModule('react-navigation', { version: '3.0.0' })
154+
await ignite.addModule('react-navigation', { version: '3.11.0' })
155155
await ignite.addModule('react-native-gesture-handler', { version: '1.3.0', link: true })
156156

157157
ignite.patchInFile(`${process.cwd()}/android/app/src/main/java/com/${name.toLowerCase()}/MainActivity.java`, {

boilerplate/App/Navigation/ReduxNavigation.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ import * as React from 'react'
22
import { BackHandler, Platform } from 'react-native'
33
import {
44
createReactNavigationReduxMiddleware,
5-
reduxifyNavigator
5+
createReduxContainer
66
} from 'react-navigation-redux-helpers'
77
import { connect } from 'react-redux'
88
import AppNavigation from './AppNavigation'
99

1010
export const appNavigatorMiddleware = createReactNavigationReduxMiddleware(
11-
'root',
12-
(state) => state.nav
11+
(state) => state.nav,
12+
'root'
1313
)
1414

15-
const ReduxAppNavigator = reduxifyNavigator(AppNavigation, 'root')
15+
const ReduxAppNavigator = createReduxContainer(AppNavigation, 'root')
1616

1717
class ReduxNavigation extends React.Component {
1818
componentDidMount () {

boilerplate/package.json.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"querystringify": "2.1.0",
2525
"ramda": "^0.26.1",
2626
"react-native-config": "^0.11.7",
27+
"react-navigation-redux-helpers": "^3.0.2",
2728
"react-native-device-info": "^2.1.3",
28-
"react-navigation-redux-helpers": "^2.0.6",
2929
"react-redux": "^6.0.0",
3030
"redux": "^4.0.0",
3131
"redux-saga": "^1.0.0",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ NOTE: This repo has been renamed from ignite-ir-boilerplate-andross to ignite-an
1111
Currently includes:
1212

1313
* React Native 0.59.9
14-
* React Navigation 3.0.0
14+
* React Navigation 3.11.0
1515
* Redux
1616
* Redux Sagas
1717
* And more!

0 commit comments

Comments
 (0)