Giter VIP home page Giter VIP logo

clothesstore-react-native's Introduction

ClothesStore (React-Native)

RNHome is a React Native implementation and mixed-code integration of the ClothesStore-iOS project

App Demo Gif

Data Fetching Procedure:

Subclassed DataSourcePresenter to HomePresenter to interact with the bridge as DataSourcePresenter initially served as a base presenter which did all the fetching based on the inferred model type.

Bundling:

Bundle resources with the command below

react-native bundle --entry-file='./index.js' --bundle-output='./main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'

If you want to hot reload with active changes, in HomeController.swift, change the jsCodeLocation to your local environment

let jsCodeLocation = URL(string: "http://localhost:8081/index.bundle?platform=ios")!

Note:

1.main.jsbundle was deliberately added to avoid re-bundling and for those who want to directly run from Xcode without having to do any major setup.

2.The backend was designed in a way that certain REST requests had to be chained, hence the full refresh in some controllers.

clothesstore-react-native's People

Contributors

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