10
Ubiquitous and Mobile Computing CS 528: React Navigation William Mosby Trusting Inekwe Computer Science Dept. Worcester Polytechnic Institute (WPI)

Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Ubiquitous and Mobile Computing CS 528: React Navigation

William MosbyTrusting Inekwe

Computer Science Dept.

Worcester Polytechnic Institute (WPI)

Page 2: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Background

● Extension of React Native

● Born from the need to have an easy-to-use

navigation solution based on JavaScript

Page 3: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Background

● Easy navigation using Stack implementation (LIFO)

● Animations

● Open source

● Funded by EXPO

● Easy (OTA) updates

● Easy to debug

● Customizable

Page 4: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Specific Problem

● Navigating between screens was an issue for React

Native programmers

Page 5: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Typical Use Case

● Navigating between pages in a react-native app

● Passing parameters between pages

● Saving the states of pages

● Redirecting navigation

● Custom navigation animations

Page 6: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Real World Example

● Discontinuity

● Yeti

● Survey

● Golden Owl Consulting

● Maybe● Netflix

● New York Times

● Khan Academy

Page 7: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

How it works

Page 8: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Code Snippet

Page 9: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

Code Snippet

Page 10: Ubiquitous and Mobile Computing CS 528: React NavigationExtension of React Native Born from the need to have an easy-to-use navigation solution based on JavaScript. Background Easy

References

● Retrieved from:

https://reactnavigation.org/docs/en/pitch.html

● Retrieved from:

https://reactnavigation.org/docs/en/hello-react-

navigation.html