Giter Site home page Giter Site logo

reactnative_shopping's Introduction

#ReactNative_Shopping 开源动力,仿优购网 use RN and Redux 本项目适合有RN基础和Redux基础 #主要实现电商基础界面和购物车功能 基于ReactNative和Redux实现了电商类APP,持续更新,希望一起学习讨论. 1.这个app 主要使用Redux 结合所学的结合一些开源第三方实现!主要对购物车功能实现了实时监控! 2.多个UI界面的搭建,实现实时更变内容,后面会实时更新大家可以关注一下 3.使用大量模块封装使得,页面能重用!

暂时只适配iOS 后期会持续更新适配安卓 (如果暂时想适配安卓的可切换注释 TabBarView.js 的代码,基本能运行 效果比较差) ##完成功能

  • 首页
  • 分类页面
  • 购物车完整功能
  • 个人页面
  • 性能优化

运行截图

最新 分类 详情页 详情页 详情页

运行

$ git clone https://github.com/JasonStu/ReactNative_Shopping.git
$ cd ReactNative_Shopping
$ npm install
$ react-native run-ios

##相关依赖

  "dependencies": {
    "react": "15.2.1",
    "react-native": "0.31.0",
    "react-native-nav": "^1.1.4",
    "react-native-scrollable-tab-view": "^0.5.3",
    "react-native-swiper": "^1.4.4",
    "react-native-tab-navigator": "^0.3.2",
    "react-native-vector-icons": "^2.0.3",
    "react-redux": "^4.4.5",
    "redux": "^3.5.2",
    "redux-logger": "^2.6.1",
    "redux-thunk": "^2.1.0"
  },

如果大家觉得有用欢迎给个start✨✨✨✨✨✨✨✨✨

reactnative_shopping's People

Contributors

jasonstu 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  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

reactnative_shopping's Issues

帮忙给看看这个是啥问题?

我运行 react-native run-android
后 出现如下问题:
strict mode does not allow function
看了下项目 react-native 版本是
"react-native": "^0.33.0",

网上查了很多 说是react-native 的版本问题? 不知道你们碰到过没?

iOS跑不起来

Unable to resolve module react/lib/ReactUpdates from /Users/grim/Documents/Work/Fun/ReactNative/Learn/ReactNative_Shopping-master/node_modules/react-native/Libraries/react-native/react-native.js: Unable to find this module in its module map or any of the node_modules directories under /Users/node_modules/react/lib/ReactUpdates and its parent directories

This might be related to facebook/react-native#4968
To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset packager cache: rm -fr $TMPDIR/react-* or npm start -- --reset-cache.

ios模拟器上报错

我这边报错,SyntaxError /User/davidcai/github/shopping-react-native/node_modules/react-native-swiper/src/index.js: Unexcepted token(100:5)

// export default React.createClass({
export default class extends Component {
/**

  • Props Validation
  • @type {Object}
    */
    static propTypes = {
    horizontal: PropTypes.bool,

在这一行: static propTypes = {

run-ios 时 报错 ,没看懂

ERROR ENOENT: no such file or directory, lstat '/Users/cheungif/Documents/Code/JS/REACT/ReactNative_Shopping/ios/build/ModuleCache/3UB7MQ6FP2IXG/modules.idx.lock'
{"errno":-2,"code":"ENOENT","syscall":"lstat","path":"/Users/cheungif/Documents/Code/JS/REACT/ReactNative_Shopping/ios/build/ModuleCache/3UB7MQ6FP2IXG/modules.idx.lock"}
Error: ENOENT: no such file or directory, lstat '/Users/cheungif/Documents/Code/JS/REACT/ReactNative_Shopping/ios/build/ModuleCache/3UB7MQ6FP2IXG/modules.idx.lock'
at Error (native)

RCTBundleURLProvider.h file not found

你这个项目怎么运行呢?怎么打开 ios 文件夹,然后点击xcodeproj 文件打开就是RCTBundleURLProvider.h file not found的报错,那你这个项目应该怎么运行呢?

react-native run-ios 报错

报错信息:invariant violation:module name prefixes should've been stripped by the native side but wasn't for RCTJSCExecutor

缺少文件

显示缺文件啊,RCTBundleURLProvider.h not found

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.