Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcallisto/slinky-router-native-basic
react-router-native basic example coded in Scala (via Scala.js, Slinky, ScalablyTyped, Expo)
https://github.com/mcallisto/slinky-router-native-basic
expo react-native react-router scala scala-js scalablytyped slinky
Last synced: 10 days ago
JSON representation
react-router-native basic example coded in Scala (via Scala.js, Slinky, ScalablyTyped, Expo)
- Host: GitHub
- URL: https://github.com/mcallisto/slinky-router-native-basic
- Owner: mcallisto
- Created: 2019-12-14T09:17:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T15:59:12.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T15:45:26.076Z (26 days ago)
- Topics: expo, react-native, react-router, scala, scala-js, scalablytyped, slinky
- Language: Scala
- Homepage:
- Size: 1.27 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slinky react-router-native
Refactoring of [react-router-native basic example](https://reacttraining.com/react-router/native/example/Basic) coded in [Scala](https://scala-lang.org/) through [Scala.js](https://www.scala-js.org), [Slinky](https://slinky.dev), [ScalablyTyped](https://github.com/oyvindberg/ScalablyTyped) and [Expo](https://expo.io).## Try the demo app
Go to the [app Expo page](https://expo.io/@mcallisto/slinky-router-native-basic).## Requirements
Make sure you have [sbt](https://www.scala-sbt.org) and [yarn](https://yarnpkg.com) installed.### Install the Expo CLI
```sh
$ yarn global add expo-cli
```## How to
### Run in developmentFirst compile your Scala code to JavaScript by running:
```sh
$ sbt fastOptJS
```Then, launch the app with Expo:
```sh
$ expo start
```## Contribute
Help is needed, with the aim of mapping 100% of the react-router-native examples.
## Acknowledgements
`slinky-react-router-native` is based on Slinky's [Expo Scala Template](https://github.com/shadaj/expo-template-scala).This demo uses the Scala.js typings developed by Øyvind Raddum Berg, see more demos at [SlinkyDemos](https://github.com/ScalablyTyped/SlinkyDemos).