Questions tagged [react-native-router-flux]

react-native-router-flux is a routing package for react native based on new React Native Navigation API. It helps users to define all the routes in one central place and navigate and communicate between different screens in an easy way.

Official repository : link

621 questions
0
votes
1 answer

"props should be defined" but how?

I am new to react and react native. I am trying to set up a simple app, using this tutorial https://github.com/aksonov/react-native-router-flux/blob/master/docs/MINI_TUTORIAL.md I have set up my app with this command create-react-native-app…
Loofer
  • 6,841
  • 9
  • 61
  • 102
0
votes
1 answer

react-redux performance re-render components

I'm having performance issues with my react-native application, I've encountered the problem but I do not know what the best way to solve it, I'll describe below my scenario: I have a navigation for 3 scenes: Scene 1 ==> Scene 2 ==> Scene 3 Scene 2…
0
votes
1 answer

Is not a function after view switch

I have problem with react-native when switching views with react-native-router-flux. mapMarkerGen(){ if(mapMarkersFetched){ _this = this; return mapMarkers.map(function(marker, i){ return(
0
votes
1 answer

How can I persist my components when navigating through my app?

My homepage takes a second to load some images I'm pulling from an API. When I navigate away from my homepage and then back to it again the images take a second to load again. How can I persist components I navigate away from so that they only have…
wvicioso
  • 538
  • 1
  • 3
  • 13
0
votes
1 answer

Swipe back moves multiple scenes

Setup "react": "16.0.0-alpha.3", "react-native": "0.43.1", "react-native-router-flux": "^3.26.16" Expected behaviour On swipe back gesture, I expect to animate single scene only and go back by that scene. Actual behaviour From time to time (+-…
0
votes
1 answer

How to show back button at root with React Native Router?

I am using React Native Router and want to have a back button on the component at the root of the navigation and override its action. Is it possible to enable the back button without writing my own with renderBackButton? I'd rather use the one…
emroussel
  • 1,077
  • 11
  • 19
0
votes
1 answer

React Native Router Flux - expected a component class, got [object Object]

I am getting component class got object error while using react-native-router-flux, Here is my index.js file and component files. I am facing component object error but if i use the component directly as tag it is working well. index.js import React…
Sandy
  • 199
  • 1
  • 10
0
votes
2 answers

React-Native using Components without render

I am new to react-native and am trying to build a Map component that relies on a GPS component. (I am actually not even sure if 'component' is the correct word) I want to render the map using a UI, but I also need the GPS to get the location…
DaveTheAl
  • 1,995
  • 4
  • 35
  • 65
0
votes
1 answer

Warning: SceneView has a method called shouldComponentUpdate()

Hi everyone: I'm using react-native-router-flux (v.3.39.2) in a react-native project, but today it is showing this warning: Warning: SceneView has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when…
0
votes
2 answers

React Native: How to make Listview with with local images

I made an album that looks sort of like this: smth /> smthElse />' ... and so on 20 times. I have 5 albums, which I access with tabs…
TheNewbie
  • 323
  • 2
  • 9
  • 22
0
votes
1 answer

Dynamic style on react-native-router-flux TabBar

I have a Scene in react-native-router-flux that is acting as a TabBar in my application, however we need to change the color scheme of the entire tab bar based on some state inside of the application. We are using redux for state management and I…
Hobbyist
  • 15,888
  • 9
  • 46
  • 98
0
votes
1 answer

onPress change fragment view

I am using react-native and i have a NavigationDrawer.When i press ListItem i change the page. What i want to do now is to change only half of page's view depending on what user presses. export default class Some extends Component { render() { …
0
votes
1 answer

ListItem onPress not finding key

I'm using React Native with react-native-router-flux and native-base. I have created a SideMenu with native -base and navigate with react-native-router-flux. The problem is that when i click to ListItem it does not navigate to the screen i want.…
0
votes
2 answers

Unable to resolve module react-native-navbar

I am not able to install the component cause I get this error: npm install react-native-side-menu Rdemo@0.0.1 /home/mss/Desktop/cakenew25_aug/MagentoLatest/Rdemo +-- UNMET PEER DEPENDENCY react@16.0.0-alpha.6 `-- react-native-side-menu@0.20.1 npm…
user2028
  • 163
  • 4
  • 15
  • 40
0
votes
1 answer

need to implement some route behavior, but don't know how

I'm completelly newbie on react and react-native. So i ask to forgive me for possibly stupid question. I use redux with react-native-router-flux. First of all, let me describe the behavior what I want. I have a scene that shows some info about…