Code Monkey home page Code Monkey logo

ixartz / react-native-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
172.0 2.0 31.0 2.78 MB

๐Ÿš€๐ŸŽ‰๐Ÿ“š Boilerplate and Starter for React Native, Expo, NativeWind and TypeScript โšก๏ธ Made with developer experience first: React Native + Expo + TypeScript + ESLint + Prettier + Husky + Lint-Staged + Jest + Detox + VSCode + NativeWind

Home Page: https://creativedesignsguru.com

License: MIT License

JavaScript 67.82% Shell 3.28% TypeScript 28.90%
boilerplate boilerplate-template boilerplates eslint expo prettier react-native saas-boilerplate starter starter-kit

react-native-boilerplate's People

Contributors

1finedev avatar fahmiauliarahman avatar ixartz avatar joemaffei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-boilerplate's Issues

Missing react-native-gesture-handler dependency [only web version]

After cloning & running npm install, this issue seems to be present

npm run web

[email protected] web
expo start --web

Starting project at ~/Documents/repos/boilerplate
Starting Metro Bundler
Some dependencies are incompatible with the installed expo version:
[email protected] - expected version: ~0.20.5
[email protected] - expected version: ~2.12.0
Your project may not work correctly until you install the correct versions of the packages.
Fix with: npx expo install --fix
โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„
โ–ˆ โ–„โ–„โ–„โ–„โ–„ โ–ˆ โ–ˆโ–„โ–€โ–€โ–„โ–ˆโ–ˆ โ–„โ–„โ–„โ–„โ–„ โ–ˆ
โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–€โ–„ โ–ˆโ–€โ–ˆ โ–ˆโ–ˆ โ–ˆ โ–ˆ โ–ˆ
โ–ˆ โ–ˆโ–„โ–„โ–„โ–ˆ โ–ˆโ–€โ–ˆโ–ˆโ–€โ–€โ–ˆโ–€โ–„โ–ˆโ–ˆ โ–ˆโ–„โ–„โ–„โ–ˆ โ–ˆ
โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆโ–„โ–€โ–„โ–ˆ โ–ˆโ–„โ–ˆโ–„โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆ
โ–ˆโ–„ โ–€โ–ˆโ–„ โ–„โ–ˆโ–ˆโ–€โ–€โ–„โ–€โ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–€โ–„โ–„ โ–„โ–ˆ
โ–ˆโ–€โ–ˆโ–€โ–€ โ–ˆโ–„โ–„ โ–ˆโ–€ โ–„โ–ˆโ–ˆ โ–€โ–€ โ–ˆโ–„ โ–€โ–ˆโ–ˆ
โ–ˆโ–€โ–ˆโ–ˆ โ–€โ–„โ–„โ–ˆโ–€โ–ˆโ–„โ–ˆโ–„โ–€โ–„โ–€โ–„โ–€โ–„โ–€โ–€โ–„ โ–€โ–ˆโ–ˆ
โ–ˆโ–ˆโ–ˆโ–„โ–ˆโ–„โ–ˆโ–„โ–„ โ–„โ–ˆโ–€โ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–„โ–€ โ–€โ–ˆโ–ˆโ–ˆ
โ–ˆโ–„โ–„โ–ˆโ–„โ–ˆโ–„โ–„โ–ˆ โ–ˆโ–€โ–„โ–€โ–ˆโ–„โ–„ โ–„โ–„โ–„ โ–€ โ–„โ–„โ–ˆ
โ–ˆ โ–„โ–„โ–„โ–„โ–„ โ–ˆโ–€โ–„โ–„ โ–„โ–ˆโ–ˆโ–€ โ–ˆโ–„โ–ˆ โ–€โ–€โ–ˆโ–€โ–ˆ
โ–ˆ โ–ˆ โ–ˆ โ–ˆโ–„โ–ˆโ–„โ–ˆโ–„โ–€โ–„โ–ˆโ–„โ–„ โ–„โ–„โ–€ โ–ˆ
โ–ˆ โ–ˆโ–„โ–„โ–„โ–ˆ โ–ˆโ–€โ–„โ–„โ–ˆโ–€โ–ˆโ–€โ–„โ–ˆโ–ˆโ–„โ–€โ–ˆโ–€โ–€ โ–ˆโ–ˆ
โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆโ–„โ–„โ–ˆโ–„โ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–ˆ

โ€บ Metro waiting on exp://192.168.1.48:8081
โ€บ Scan the QR code above with Expo Go (Android) or the Camera app (iOS)

โ€บ Web is waiting on http://localhost:8081

โ€บ Using Expo Go
โ€บ Press s โ”‚ switch to development build

โ€บ Press a โ”‚ open Android
โ€บ Press i โ”‚ open iOS simulator
โ€บ Press w โ”‚ open web

โ€บ Press j โ”‚ open debugger
โ€บ Press r โ”‚ reload app
โ€บ Press m โ”‚ toggle menu
โ€บ Press o โ”‚ open project code in your editor

โ€บ Press ? โ”‚ show all commands

Logs for your project will appear below. Press Ctrl+C to exit.
Web Bundling failed 810ms
Unable to resolve "react-native-web/dist/exports/DrawerLayoutAndroid" from "node_modules/react-native-gesture-handler/lib/module/components/GestureComponents.web.js"

Potentially fixed with npx expo install react-native-gesture-handler

Device not imported in the jest.setup.ts file

I might be wrong but there seems to be omission of the device import in the Jest setup file in the e2e folder

the code in there is

beforeAll(async () => {
  await device.launchApp();
});

beforeEach(async () => {
  await device.reloadReactNative();
});

and adding
import { device } from 'detox';
seems to fix it

Nativewind styling not applied on the web

I believe it's related to this issue here marklawlor/nativewind#470, but out of the box, the nativewind styling is not applied on the web.

Adding import { NativeWindStyleSheet } from "nativewind";

NativeWindStyleSheet.setOutput({
default: "native",
});

to the _layout.tsx seems to fix this, but I'm not sure if this the proper solution

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.