Contributing

August 21, 2025 ยท View on GitHub

Thanks for contributing! ๐Ÿ˜ Here are some rules that will make your example last as long as possible in the constantly changing React ecosystem.

Rules

  • It's important to keep examples concise.

    + "expo-three": "~1.0.0"
    
    - "expo-three": "^1.0.0"
    
  • Each example can be used as example in create-expo so try to consider what a fresh template should look like:

    • No TODO, NOTE(), or otherwise.
    • No personal references to your name or other contextual info in comments.

Format

Every example needs a README.md that explains how to setup, the motivation behind the example, and what platforms it supports.

# <TITLE> Example

<p>
  <!-- iOS -->
  <img alt="Supports Expo iOS" longdesc="Supports Expo iOS" src="https://img.shields.io/badge/iOS-4630EB.svg?style=flat-square&logo=APPLE&labelColor=999999&logoColor=fff" />
  <!-- Android -->
  <img alt="Supports Expo Android" longdesc="Supports Expo Android" src="https://img.shields.io/badge/Android-4630EB.svg?style=flat-square&logo=ANDROID&labelColor=A4C639&logoColor=fff" />
  <!-- Web -->
  <img alt="Supports Expo Web" longdesc="Supports Expo Web" src="https://img.shields.io/badge/web-4630EB.svg?style=flat-square&logo=GOOGLE-CHROME&labelColor=4285F4&logoColor=fff" />
</p>

description

## Launch your own

[![Launch with Expo](https://github.com/expo/examples/blob/master/.gh-assets/launch.svg?raw=true)](https://launch.expo.dev/?github=<GH_URL>)

## How to use

<!-- Setup instructions -->

## ๐Ÿ“ Notes

<!-- Link to related Expo or library docs -->

Add a File Structure section (between "How to use" and "Notes") if the example reflects a custom workflow:


### ๐Ÿ“ File Structure

\```
Expo Gatsby
โ”œโ”€โ”€ src
โ”‚   โ””โ”€โ”€ pages โžก๏ธ Routes
โ”‚       โ””โ”€โ”€ index.tsx โžก๏ธ Entry Point for Gatsby
โ”œโ”€โ”€ .cache โžก๏ธ Generated Gatsby files (should be ignored)
โ”œโ”€โ”€ public โžก๏ธ Generated Gatsby files (should be ignored)
โ”œโ”€โ”€ assets โžก๏ธ All static assets for your project
โ”œโ”€โ”€ App.tsx โžก๏ธ Entry Point for Mobile apps
โ”œโ”€โ”€ app.config.js โžก๏ธ Expo config file
โ”œโ”€โ”€ gatsby-config.js โžก๏ธ Gatsby config file
โ””โ”€โ”€ babel.config.js โžก๏ธ Babel config (should be using `babel-preset-expo`)
\```