Giter Club home page Giter Club logo

boilerplate-react-native-web-graphql's Introduction

React Native for Web - Stateless Boilerplate for Fiber

If looking for an statefull boilerplate instead check out redux-form-styled-for-react-native for a cross platform app built on redux, redux-form react-native-web and expo

Overview

I am an upgrade from react-native-web-boilerplate

A minimum boilerplate to configure react-native-web + react-native with React 16 fiber!

Prerequisites

  • Node version 8/9
  • You can use yarn or npm
  • react-native-cli

More info look into the getting started guide

Quick start

git clone --depth 1 https://github.com/agrcrobles/react-native-web-fiber-boilerplate.git

What is on it?

  • babel-preset-react-native is recommended in mobile and in web ( and it hot reloads! )
  • Jest and Flow
  • react-native-vector-icons on native platform
  • Prettier as code formatter
  • Jest as the testing framework
  • Flow as a javascript typechecker
  • See the following fork from @hectahertz for testing react-native-typography

Web HMR with webpack-dev-server

## run the web platform
cd react-native-web-fiber-boilerplate
yarn
yarn web

Open http://localhost:3000/

Desktop with electron

## run the electron platform
cd electron
yarn i
yarn start

Mobile

## run the android platform
react-native run-android

## run the ios platform
react-native run-ios

Contributing

PR, stars โœญ and issue reporting, welcome!

License

MIT

boilerplate-react-native-web-graphql's People

Contributors

karellen-kim avatar

Watchers

 avatar  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.