Skip to content

tranhoang1010vn/react-native-template-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌃 Bleeding edge nightly React Native template 🌃

Lesgo

License: MIT

TypeScript Formatter: prettier Linter

NPM RN pkg ver CI

Maintenance

Docs

Setup

Fresh M1

Install

yarn

Start

yarn start

M1 (ARM64) Macs

iOS

cd ios
pod install
# project.pbxproj
# ...
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
# ...
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
# ...

Or Run with React Native CLI

yarn ios
Resolves
Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening <App>.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace <App>.xcworkspace -configuration Debug -scheme <App> -destination id=C3FF229E-87F8-4DAB-B0E6-1642DB821973

Build target <App>Tests of project <App> with configuration Debug
./ios/<App>.xcodeproj: error: The linked library 'libPods-<App>-<App>Tests.a' is missing one or more architectures required by this target: x86_64. (in target '<App>Tests' from project '<App>')

Build target <App> of project <App> with configuration Debug
./ios/<App>.xcodeproj: error: The linked library 'libPods-<App>.a' is missing one or more architectures required by this target: x86_64. (in target '<App>' from project '<App>')

Guides

Android

yarn android

Storybook

# metro.config.js
module.exports = {
  transformer: {
    getTransformOptions: async () => ({
      transform: {
        experimentalImportSupport: false,
-       inlineRequires: true
+       inlineRequires: false
      }
    })
  }
}
# https://github.com/facebook/hermes/issues/135
# https://github.com/facebook/react-native/issues/31969
yarn storybook
yarn <android/ios>

Node

yarn server

Deno

brew install deno
yarn deno

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published