Giter Site home page Giter Site logo

realdubb / master-detail-application Goto Github PK

View Code? Open in Web Editor NEW

This project forked from react-native-templates/master-detail-application

0.0 1.0 0.0 281 KB

A master-detail application template for React Native

Python 10.31% Java 6.55% JavaScript 50.62% Objective-C 32.52%

master-detail-application's Introduction

Master Detail Application

This is part of the Facebook Tel-Aviv React Native Hackathon.



This template is designed to do a master-detail layout for React Native, using nothing but React Native itself. There's no Redux or any other ecosystem component to avoid breakage, we also have decided not to adopt NavigatorExperimental just yet.

Quick Start

Make a new React Native application:

$ react-native init MyNewApp
$ cd MyNewApp

Install and run the template:

$ npm install -g rn-master-detail-template
$ rn-master-detail-template
copying template...
installing dependencies...
done!

Done!

Components

The structure is as simple as we could make it.

App

App wraps navigation rendering and state using Navigator, a simple redux-like store, and an event emitter for navigation.

Store

The Store uses EventEmitter and consumers of that store will use Subscribable in order to listen to changes. It is nothing but a simple state manipulator; and you could replace that with Redux, ImmutableJS or anything else.

Master

The Master displays a list of items, along with coordinating rendering of cells.

Detail

The Detail will display a single item. It's also responsible to respond to navigator commands, such as 'Save'.

master-detail-application's People

Contributors

jondot avatar lilach avatar

Watchers

Alex Wachira 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.