GithubHelp home page GithubHelp logo

devharris7 / react-native-practice Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 225.03 MB

JavaScript 19.60% TypeScript 20.30% Starlark 1.15% Java 29.29% Makefile 2.92% C++ 13.32% C 0.20% Objective-C 4.16% Objective-C++ 6.96% Ruby 2.11%

react-native-practice's Introduction

React Native Template / Boilerplate

Bleeding 🔪 Edge 🌉 Nightlymare 🌃 Edition

““”̿ ̿ ̿ ̿ ̿’̿’̵͇̿̿з=(*▽*)=ε/̵͇̿̿/̿ ̿ ̿ ̿ ̿’““
IDKFA

NPM RN pkg ver TypeScript Linter Formatter: prettier CI Maintenance Docs Project

Setup

Fresh M1

Yarn

yarn set version berry # Globally, outside repo
yarn set version canary # Bonus, to keep up w Renovate bot

Install

yarn
yarn setup # If bonus n/a

Start

yarn start

Silicon (M1) Macs

iOS (arm64)

cd ios
pod install
..
yarn ios

Or iOS (Intel x86_64)

Android

Building-from-source#prerequisites, but with NDK 25.0.8221429 rc2

# android/local.properties
sdk.dir=/Users/<user>/Library/Android/sdk
ndk.dir=/Users/<user>/Library/Android/sdk/ndk/25.0.8221429

Strip: rcX suffix / (trailing) spaces / final final linebreak - otherwise fcntl(): Bad file descriptor

Open Android Studio - Preview release - Canary build

yarn android

Troubleshooting

Storybook v6 alpha

src/index.tsx

- export default false ? StorybookUIRoot : App 
+ export default true ? StorybookUIRoot : App 

Soon: v6 rn storybook server

Storybook v5

metro.config.js

-       inlineRequires: true
+       inlineRequires: false
# https://github.com/facebook/hermes/issues/135
# https://github.com/facebook/react-native/issues/31969
# @storybook/react-native-server v5
yarn storybook
yarn <android/ios>

Node

With ts-node and curveball

yarn server

Deno

brew install deno
yarn deno

License: MIT

react-native-practice's People

Contributors

devharris7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.