GitXplorerGitXplorer
b

react-native-web-monorepo

public
865 stars
175 forks
6 issues

Commits

List of commits on branch master.
Verified
b2f7fc9d7db02c09c7b02150bd85e0ef3b00d4b3

Pre-commit hook

bbrunolemos committed 4 years ago
Verified
5841dfdec1ae9d988b94a57b78ed854591da7692

ESLint

bbrunolemos committed 4 years ago
Verified
23774948b138f169f4799dfc094150627bade3d3

Update README.md

bbrunolemos committed 4 years ago
Verified
f24b0cb8fc6487c2b5577b34c78a60933b619e8f

Upgrade create-react-app to v4.0.0 (and react-native-web to v0.14.8)

bbrunolemos committed 4 years ago
Verified
08c38a2124f353aa3967f182e72d936a333d7c70

Bump react to v17.0.1

bbrunolemos committed 4 years ago
Verified
a2f61452850f62c3d90ca366995e5b571225579c

Simplify TypeScript setup

bbrunolemos committed 4 years ago

README

The README file for this repository.

React Native [Web] + Monorepo

100% code sharing between Web, iOS and Android

This is the source code from this tutorial.

Tech Stack: TypeScript v4, React Native v0.63, Next.js v10 & Create React App v4. Prettier and ESLint are also configured as pre-commit hooks.

article-cover

How to run

  • $ git clone git@github.com:brunolemos/react-native-web-monorepo.git
  • $ cd react-native-web-monorepo
  • $ yarn
  • Web
    • [CRA] $ yarn workspace web-cra start
    • [Next.js] $ yarn workspace web-nextjs dev
  • Mobile
    • [iOS]
      • $ cd packages/mobile/ios && pod update && pod install && cd -
      • [CLI]
        • $ yarn ios
      • [Xcode]
        • $ yarn workspace mobile start
        • yarn xcode
        • Press the Run button
    • [Android]
      • [CLI]
        • $ yarn android
      • [Android Studio]
        • $ yarn workspace mobile start
        • yarn studio
        • Press the Run button

Who is using this on production

Check out DevHub, which is the project that inspired this repository.

Author

Follow me on Twitter: @brunolemos