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

Upgrade react navigation#226

Open
KiOui wants to merge 10 commits intomasterfrom
chore/upgrade-react-navigation
Open

Upgrade react navigation#226
KiOui wants to merge 10 commits intomasterfrom
chore/upgrade-react-navigation

Conversation

@KiOui
Copy link
Copy Markdown
Contributor

@KiOui KiOui commented Nov 16, 2020

Closes #142

Summary

Updated react-navigation to version 5.

How to test

Steps to test the changes you made:

Check all screens and buttons in the navigators.

@KiOui KiOui added the chore Something that is not a bug or a feature label Nov 16, 2020
@KiOui KiOui self-assigned this Nov 16, 2020
import * as React from 'react';
import { DrawerActions } from '@react-navigation/native';

export const navigationRef = React.createRef();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should all be in the navigation saga

Comment thread app/sagas/navigation.js
import * as welcomeActions from '../actions/welcome';
import { settingsActions } from '../actions/settings';
import NavigationService from '../navigation';
import * as RootNavigation from '../ui/components/navigation/RootNavigation';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a weird import

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Why exactly?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

because you are basically importing UI components into a saga.

@se-bastiaan se-bastiaan changed the title Chore/upgrade react navigation Upgrade react navigation Nov 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

chore Something that is not a bug or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

React-navigation should be upgraded to the newest version

2 participants