Data dodania Pytanie
2018-02-11 22:02 Efficiently update all items in large flat list in react native »
I'm writing an image picker using react-native's CameraRoll API and rendering them in a FlatList inside CameraRollScreen component. This component tak...
(1) odpowiedzi
2018-02-08 07:02 Flatlist getItemLayout usecase »
Why we use getItemLayout in flatlist ,how it help to improve performance of a flatlist .check the react-native docs but didn't find a satisfying answe...
(1) odpowiedzi
2018-02-06 05:02 React Native Redefinition of 'RCTMethodInfo' in RCTBridgeModule.h »
React Native 0.49 in iOS I clone my project install npm and link from git and run but it has error in RCTBridgeModule.h in code typedef struct RCTMet...
(0) odpowiedzi
2018-02-04 10:02 Facebook deep linking always opens store in android & app store »
I'm building an mobile app using React Native for both android and iOS and i had to implement Facebook Deep Linking, but it always opens App Store or ...
(0) odpowiedzi
2018-02-02 22:02 React Native + React (for web) seed project »
Is it possible to setup a project which has code for both React Native(Mobile app) + React(web), having the code shred between platforms except for th...
(4) odpowiedzi
2018-02-02 20:02 React native security Android »
I reverse engineered my react native release signed app, I now can see all js code in index bundle which is only obfuscated not encrypted, in assets d...
(0) odpowiedzi
2018-01-26 11:01 React Navigation TabNavigator: Reset previous tab on tab change »
I have the following route structure: StackNavigator -StackNavigator -TabNavigator --Tab1 ---Route 1 (Stack) (initial) ---Route 2 (Stack) --Tab2 ---...
(2) odpowiedzi
2018-01-25 23:01 Dependency error in React Native for Android »
I am writing a React Native App for Android. I initialized the project with the react-native-cli. When I try to run it on Android, I get the following...
(1) odpowiedzi
2018-01-25 14:01 Index in style property with react native »
I'm building an app with react native and i try to pass an index to a style property, to have different backgroundColor. here's my code : getData(da...
(3) odpowiedzi
2018-01-20 23:01 No permission for modification »
I'm following the tutorial for building a React Native application, but I can't make changes in the App.js file. I'm using Brackets and I get an error...
(0) odpowiedzi
2018-01-14 09:01 How to break .map function »
how to break a .map function? Code samples attached below. I want to break the look once the index reached at 5 because I only want to render 5 Avatar...
(3) odpowiedzi
2018-01-14 01:01 Javascript return function happens too late »
What my code should do I am creating a social media app using react native, and I have run into an problem with my code. I am trying to create a func...
(2) odpowiedzi
2018-01-08 08:01 How to handle CSRF tokens with React Relay »
I am busy working on a React Native app which talks to a GraphQL api off a Django server. In React Native I am using React Relay to try and process ...
(0) odpowiedzi
2018-01-06 22:01 How to pass style props for a specific component in react-native »
I tried creating a button with specific styles for its . I had more than 3 properties like justifyContent, alignItems, backgroundColor and height. I w...
(1) odpowiedzi
2018-01-03 15:01 React Native fetch() not working android »
I am trying to call fetch() function. It works fine on iOS but not working on Android. fetch('https://admin.leanpoint.com/Api/User/Login?user=srinu@...
(3) odpowiedzi
2018-01-01 18:01 Inconsistency handling react textbox value with onChangeText and setState »
Consider TextInput in react-native, below implementation seems to be a standard approach: <TextInput value={this.state.text} onChangeText={tex...
(2) odpowiedzi
2017-12-30 14:12 how to solve this error You may need an appropriate loader to handle this file type »
I got this error with this library https://github.com/react-native-web-community/react-native-web-linear-gradient/ the error link https://github.com/...
(2) odpowiedzi
2017-12-30 03:12 React Native Facebook login, can't find variable Document »
I am trying to add Facebook User Authentication, for Graphcool. For React, they have provided a snippet to initialize the SDK. However, since I am usi...
(1) odpowiedzi
2017-12-29 02:12 Load custom native component in react native using expo kit »
Im trying to load a custom Android WebView to be able to upload files using html file inputs (by default Android webview wont work with input file). I...
(3) odpowiedzi
2017-12-25 17:12 Is using async componentDidMount() good? »
Is using componentDidMount() as an async function good practice in React Native or should I avoid it? I need to get some info from AsyncStorage when...
(2) odpowiedzi
2017-12-21 12:12 How to return in a const method »
Hi I am new to react so sorry for the basic question. I am trying to define a method in a const const Age = t.refinement(t.Number, (n) => return...
(1) odpowiedzi
2017-12-21 10:12 update TextInput value of hash of array in onChangeText function »
constructor(props) { super(props); this.state = { answers: props.element.answers_data.map((answer, index) => { return answer; ...
(1) odpowiedzi
2017-12-20 18:12 react native circle transform translate animation »
hi i want that the animated.view move like a circle. I thought to this with sinus but it does not work. Somebody knows how to do it? I dont want to ro...
(1) odpowiedzi
2017-12-20 10:12 this.setState is not working for multiple text input in react-native »
{ element.answers_data.map((answer, index) => <View key={index} style={{paddingLeft: 20}}> <TextInput ...
(2) odpowiedzi
2017-12-18 00:12 Loading data into a Reactive Native FlatList »
I fully admit that I'm pretty new to Reactive Native at this point so I anticipate this being an easy answer and a potentially stupid question :) I...
(1) odpowiedzi
2017-12-14 15:12 HTML tags to JSX React Native »
I'm doing a call to an API that returns some HTML: example: <p>Hello there</p><p>Javascripti</p> I want to use this in my ...
(2) odpowiedzi
2017-12-13 23:12 Use of boilerplate actions and reducers in redux »
I have been following the widely given advice of learning React development by first mastering component props, encapsulating UI state in component le...
(2) odpowiedzi
2017-12-11 17:12 Problems attempting to return api data being in a class »
I built an api that returns me the units that I have registered in a DB but when trying to return these are not reviewing import React, { Component }...
(2) odpowiedzi
2017-12-06 20:12 When can we avoid using a constructor to initialize state? »
In the example given on the reactnativeexpress website here, state = {count: 0} is used in place of a constructor to initialize the count variable. ...
(2) odpowiedzi
2017-12-06 12:12 React native-fbsdk unknown issue? »
HI there i am using react native 0.49.5 and react 16.0.0-beta.5 for making App. I am using react native-fbsdk(^0.6.3) for facebook login. All necessar...
(3) odpowiedzi
2017-12-06 10:12 getting error when run react-native run-android »
A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occu...
(5) odpowiedzi
2017-12-05 17:12 React Native 0.40.0: Ordered comparison between pointer and zero ('NSNumber *' and 'int') »
I have a React Native project that is still on 0.40.0 and when I try to build in XCode for Simulator: Ordered comparison between pointer and zero ('N...
(1) odpowiedzi
2017-12-05 03:12 Expo AuthSession for FB login not redirecting to expo App for some versions of Android »
I am having an issue with authSession from Expo and Facebook Login. Facebook Login works on iOS and my Android Phone. However there seems to be a redi...
(0) odpowiedzi
2017-12-02 23:12 this.props.xxx is undefined while using React with typescript but working properly in ES5? »
Recently I started learning react with ES5 but now trying to use Type script in my app. Can anyone please tell me why I am not able to print ...
(2) odpowiedzi
2017-12-01 05:12 How to install SafeAreaView to my project with react-native version 0.48.0? »
Here is the problem: I want to install SafeAreaView to my project to adapt iPhone X screen, and I do not want to upgrade react-native version to 0.50...
(1) odpowiedzi