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

Upgrade react navigation #226

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

KiOui
Copy link
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
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

import * as calendarActions from '../actions/calendar';
import * as membersActions from '../actions/members';
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
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
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
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