jayden320 / meituan Goto Github PK
View Code? Open in Web Editor NEWMeiTuan App Write In latest React-Native(0.62.2)
License: MIT License
MeiTuan App Write In latest React-Native(0.62.2)
License: MIT License
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: react-native-vector-icons
Paths: /Users/petter/Documents/workspace/private/react-native-action/MeiTuan/node_modules/react-native/local-cli/core/fixtures/files/package.json collides with /Users/petter/Documents/workspace/private/react-native-action/MeiTuan/node_modules/react-native-router-flux/node_modules/react-native/local-cli/core/fixtures/files/package.json
This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
Duplicate module name: react-native-vector-icons
react-native-router-flux 是不是不支持 react-native 0.44.0 ?
查看了NearbyListScene的state每次点击面包甜点之类button,typeIndex会变化,但是NearbyHeaderView里state.typeIndex没有变化,需要手动触发下拉刷新才变化
怎么加入群,想和大家一起学习交流
App的页面跳转、TabBar、Navigation,全部通过react-navigation实现。这是一个非常牛逼的库,可以实现很多自定义的跳转功能。最早是通过react-native-router-flux实现跳转。在遇见react-navigation后,我果断放弃了react-native-router-flux。
undefined is not an object (evaluating '_this4.refs.listView.endRefreshing')
如题
建议这样,更快的体验
拉下来没法用
eactNativeJS: undefined is not an object (evaluating 'o.View.propTypes.style')
12-28 14:20:51.598 23959-24073/com.meituan E/ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
使用yarn install安装运行出现报错:'React/RCTRootContentView.h' file not found
HomeMenuView line:47
let menuViews = []
let pageCount = Math.ceil(menuItems.length / 10)
for (let i = 0; i < pageCount; i++) {
let length = menuItems.length < (i * 10) ? menuItems.length - (i * 10) : 10
let items = menuItems.slice(i * 10, i * 10 + length)
....
这里的 length 不是一直都是10吗
Could not find iPhone 6 simulator,有遇到过么?我安装xcode 是0.9.4版本的时候,没有问题,我后来卸载装了xcode10版本,就有问题了?
Develop菜单->Debug JS Remotely -Reload 会报错
Runtime is not ready for debuging.
😂
求更新
我看项目中是基于listview封装的刷新组件,为什么没有用FlatList呢
如果把tabNavigator做成闲鱼那样的中间有个凸起的按钮的,您有什么思路没有?谢谢
class SearchBar extends PureComponent { props: { onSubmitEditing: Function, text: string, onChangeText: Function, onSubmit: Function, style: Object } state: { text: string }
props和 state这个是什么意思 是es6的语法吗?
怎么才能编译成功?
兄弟,运行成功后进入团购页直接弹框提示Network request failed
刚进入第二个附近的页面的时候,就调用了requestNextPage ,导致data 数据源加载了两次!是bug啊。。求解决!!!
用手机是可以运行的,genymotion模拟器不行
感谢开源,react native新手问题请教,react navigation怎么实现“A跳转B B返回A传值,A接收参数刷新”的需求?
刚刚clone下来是可以的, 这几天好像不行了, 拿到了全是空数据
could not resolve `E:\code\React Native\MeiTuan\src\img\home\search_icon.png' as a file nor as a folder。
这个是相对路径找不到文件了吗?
localhost:MeiTuan Leo$ npm install
npm WARN peerDependencies The peer dependency react@* included from react-navigation will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react@* included from react-native-tab-view will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated [email protected]: connect 2.x series is deprecated
npm WARN peerDependencies The peer dependency react@* included from react-native-drawer-layout will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/Cellar/node/8.2.1/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v8.2.1
npm ERR! npm v2.15.0
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants react@*
npm ERR! peerinvalid Peer [email protected] wants react@^16.0.0-alpha.6
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Leo/ReactNativeProjects/MeiTuan/npm-debug.log
我运行 react-native run-android, 屏幕止步于下面的屏幕拷贝,什么也没有:
Scanning folders for symlinks in C:\MyDev\Meituan\node_modules (69ms)
┌────────────────────────────────────────────────────────────────────────────┐
│ Running Metro Bundler on port 8081. │
│ │
│ Keep Metro Bundler running while developing on any JS projects. Feel │
│ free to close this tab and run your own Metro Bundler instance if you │
│ prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
C:\MyDev\Meituan
Metro Bundler ready.
Loading dependency graph, done.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.