Giter VIP home page Giter VIP logo

vaughan189 / react-native-web-monorepo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brunolemos/react-native-web-monorepo

0.0 1.0 0.0 1.61 MB

Code sharing between iOS, Android & Web using monorepo

Home Page: https://dev.to/brunolemos/tutorial-100-code-sharing-between-ios-android--web-using-react-native-web-andmonorepo-4pej

Shell 0.25% JavaScript 11.86% Ruby 3.52% Objective-C 19.47% Java 27.35% TypeScript 26.96% CSS 0.67% HTML 7.28% Starlark 2.64%

react-native-web-monorepo's Introduction

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 [email protected]: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

react-native-web-monorepo's People

Contributors

brunolemos avatar adammescher avatar mateusandrade avatar grabbou avatar jpstrikesback avatar gabrielbull avatar gko avatar barelyhuman avatar

Watchers

James Cloos 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.