Skip to content

Latest commit

 

History

History

basic-example

Stashy: Basic Example

This is a TypeScript project using Pilot.js (Next.js + Expo) to show how to save and retrieve data from Stashy in the browser, React Native, and Next.js server side.

Usage

First things first, install dependencies.

yarn install

To run this example on the web:

yarn start:next

To run this example on native:

yarn start:expo

You can run both start:next and start:expo at the same time.

Main usage is in pages/index.tsx. You can see how to use Stashy in the browser, React Native, and NextJS server side.