Skip to content

Zeus-Aphrodite/naticeApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

React Native Examples

made with expo supports iOS and Android follow @amanhimself

Why react-native-examples

I am passionate about React Native and Expo ecosystem and one thing I often struggled with is the lack of resources when I was getting started. My another passion is for writing and I though why not combine these two and see how it goes.

I write about React Native and Expo form of blog posts, and tutorials on my personal blog amanhimself.dev and sometimes for other external publications such as LogRocket, freeCodeCamp, Sentry, and Jscrambler. This repository is a collection of examples created for those blog posts.

With time, it gets harder to maintain different repositories, update the code and dependencies (and trying to match up with the speed of ever-changing ecosystem). Thus, I decided to keep all of projects/exmaples that are mostly code examples used in these various tutorials in one place and hence, this repository.

It's completely free. If you find anything useful in this repo, go ahead pick up any code snippet, use it in your own way.

You may find some of the examples being outdated in time, in terms of framework updates or libraries. Don't worry the concept would be the same. Feel free top up an issue or a PR if you feel like somethings needs to be changed.

To keep me caffeinated, you can buy me a coffee too β˜•οΈ


Add opacity to Pressable component

This example uses:

  • Expo SDK 50

Remove Header Border Width in React Navigation or Expo Router

This example uses:

Deep Linking with React Native and React Navigation v6

This example uses:

useInfiniteQuery hook from React Query and FlatList

This example uses:

Show/Hide Password Visibility Custom Hook

This example uses:

  • Expo SDK 50

Safe Area Context in React Native and Expo apps

This example uses:

Add splash screen and app icon

This example uses:

Multi-language Support Example

Learn how to add multi-language support to a React Native app using i18next.

This example uses:

  • React Native version 0.64.1
  • React Navigation v6
  • react-native-localize
  • i18next
  • react-i18next
  • @react-native-async-storage/async-storage

Expo Firebase Auth Example

Learn how to integrate Firebase Auth service using Firebase JS SDK and Expo SDK (by generating a managed workflow app).

This example uses:

  • Expo SDK version 41.x.x
  • Firebase JS SDK
  • React Navigation version 5.x.x
  • Managing Environment Variables with app.config.json

Create a custom Image Gallery Preview

Learn how to sync thumbnail using FlatList with Carousel from react-native-snap-carousel.

This example uses:

Convert Reverse Geocode into Postal Address

Fetch user's current location and then convert into actual postal address.

This example uses:

Create a Translucent Bottom Tab Bar

This example uses:

Shared Element transitions

This example uses:

Custom scroll bar indicator in ScrollView with Animated API

  • πŸ™ Repo
  • πŸ“ Blog post
  • Description: The implementation of a scroll bar indicator is not directly customizable on cross-platforms in React Native. If you are building an app whose screen design depends on displaying a customized scroll bar indicator, then let's build one in this tutorial. This example uses:

Redux Persist

  • πŸ™ Repo
  • πŸ“ Blog post
  • Description: How to configure, integrate and use redux-persist library in a React Native & Expo app and dynamically change the UI based on the state updates. This example uses:
    • Expo SDK 40
    • react-navigation v5 (bottom-tabs)
    • redux, react-redux (with hooks), redux-thunk, redux-persist
    • Example API data from Draftbit's Example Data Service.

Forms with Formik

  • πŸ™ Repo
  • πŸ“ Blog post
  • Description: In this post, let's take a look at how to integrate Formik along with Yup in a React Native app to create forms and validate them. We are also going to cover how to change the focus of one input field to another using a device's keyboard by forwarding the ref created using a useRef hook.

Animated Header View on a Scroll with React Native Animated API

  • πŸ™ Repo
  • πŸ“ Blog post
  • Description: In this tutorial, let's explore a way to create a header view component that animates on the scroll position of the ScrollView component from React Native. We will go through the basics of creating a new Animated value as well as explaining the significance of functions and properties like interpolation, extrapolate, contentOffset, and so on. This example uses:
    • Expo SDK 38
    • React Native Animated API

Chat app with Expo + Firebase + Firestore + react-native-gifted-chat + react-native-paper + react-navigation v5

Create onBoarding screens with react-native-viewpager

  • πŸ™ Repo
  • πŸ“ Blog post
  • Description: In this tutorial, we’ll look at one of the ways to create onboarding screens in a React Native app. We are going to use a React Native community package, called react-native-viewpager, that allows us to swipe left or right between different pages where each page has some data to display.

Remove Tab bar Border Width

This example uses:

Create Custom Custom Wavy Headers with react-native-svg

Using Styled Components in React Native and Expo

Using react-native-image-picker

Handle Navigation in WebViews

Getting Started with react-navigation v5

Nesting Tab and Stack Navigation Patterns in react-navigation v5

Getting Started with Expo and React Native with Hooks & Redux (Hooks!)

Change status bar style config based on route with useIsFocused & react-navigation v6

Uses

Create a custom hook to change status bar styles with useFocusEffect & react-navigation v6

Warning Example Outdated. I wrote this status bar hook without knowing that the React Navigation library provides a useIsFocused hook. I updated my example using their technique that also works nicely with expo-status-bar.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •