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

Join Redux navigation middleware #273

Merged
merged 3 commits into from
May 21, 2019
Merged

Conversation

superp
Copy link
Contributor

@superp superp commented May 20, 2019

I had a problem with my react-native-camera (black screen after changing tabs) and deeper investigation on it was resolved with joining redux navigation middleware to one initialization.

react-navigation/redux-helpers#53
moaazsidat/react-native-qrcode-scanner#177

@@ -3,6 +3,7 @@ import Config from '../Config/DebugConfig'
import createSagaMiddleware from 'redux-saga'
import ScreenTracking from './ScreenTrackingMiddleware'
import { createReactNavigationReduxMiddleware } from 'react-navigation-redux-helpers'
Copy link
Contributor

@bencergazda bencergazda May 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should remove the old createReactNavigationReduxMiddleware import and CI will be OK.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Already done

Copy link
Member

@GantMan GantMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks legit.

@jamonholmgren jamonholmgren merged commit 2df24ef into infinitered:master May 21, 2019
infinitered-circleci pushed a commit that referenced this pull request May 21, 2019
## [4.0.4](v4.0.3...v4.0.4) (2019-05-21)

### Bug Fixes

* **navigation:** Fixes Redux navigation middleware being called twice  ([#273](#273) by [@superp](https://github.com/superp)) ([2df24ef](2df24ef))
@infinitered-circleci
Copy link

🎉 This PR is included in version 4.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants