ilansas / react-native-navigation-drawer Goto Github PK
View Code? Open in Web Editor NEWA slide menu inspired from Android for React-Native
A slide menu inspired from Android for React-Native
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: Inspector
Paths: /home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/react-native-navigation-drawer/node_modules/react-native/Libraries/Inspector.js collides with /home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/react-native/Libraries/Inspector/Inspector.js
This error is caused by a @providesModule declaration with the same name accross two different files.
Error: @providesModule naming collision:
Duplicate module name: Inspector
Paths: /home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/react-native-navigation-drawer/node_modules/react-native/Libraries/Inspector.js collides with /home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/react-native/Libraries/Inspector/Inspector.js
This error is caused by a @providesModule declaration with the same name accross two different files.
at HasteMap._updateHasteMap (/home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/node-haste/lib/DependencyGraph/HasteMap.js:160:15)
at /home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/node-haste/lib/DependencyGraph/HasteMap.js:125:25
at run (/home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:89:22)
at /home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:102:28
at flush (/home/maddy/Maddy/Projects/JavaScript/react_native/demo/node_modules/babel-polyfill/node_modules/core-js/modules/_microtask.js:14:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
The first page fetch some json data from url and render it. Fetching and rendering is calling again when coming back from other pages. How can I avoid that process and show the previously render page. Like views on tabbar.
Please don't include 'node_modules' in the repo it causes duplication error I had to delete it to run react-native run-android.
Is there a way to disable opening navigation drawer on a particular screen through swipe gesture?
The app crashes on putting (anywhere in my code) the require line:
var SlideMenu = require('react-native-navigation-drawer');
I'm trying to import a screenshot of the error but it's not working properly..... The error says "undefined is not an object (evaluating '_reactNative.Dimensions.get')
I'm using react native 0.17.
Best regards,
how to open slide menu on button press
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.