-
Using flexbox layout problems?
AB are elastic layouts A distance B minimum 20 A can compress B B minimum 30 AB is located at both ends of the horizontal how to implement this layout with flexbox? as shown in the figure: ...
-
Can the project written by react be packaged into app without using react-native?
can the project written by react be directly packaged into app without using react-native ...
-
React native hot updates always report mistakes. Ask for advice.
jsCodeLocation = [NSURL URLWithString:@"http: localhost:8081 index.bundle?platform=ios&dev=true"];
the above code is normal in time, but an error is reported in a non-debug environment, that is,
jsCodeLocation = [CodePush bundleURL];
...
-
What libraries are available for react native network requests?
I have been using react-native-fetch-blob before, but this library has not been updated for a long time. Is there any other library recommendation? ...
-
This._fetchData (page) is not a function?
I re-call this._fetchData () when I load more data _ fetchMoreData () . Why do I report this._fetchData () is not a function () here?
componentDidMount(){
this._fetchData(1)
}
_fetchData(page) {
const that = this
,isLoadingDat...
-
When using React redux in RN, what is the good way to reset state to exit the screen?
introduced React-redux, into RN, but now a problem has been found:
after I enter a screen and do some operations, the corresponding state of the screen changes, exits and enters again. Since the state in store has not been reset, the state after the l...
-
How to solve the short white screen of RN's Listview when the position jumps?
usage scenario:
it has been seen on the Internet that when making a position jump, you need to know the height of each line between the starting point and the end point in order to accurately render the specified location. is there any way to opti...
-
On the Writing of react-native entry File
after using a react-native init project, its entry file is written as follows
import { AppRegistry } from react-native ;
import App from . App ;
AppRegistry.registerComponent( app , () => App);
this is normal and conforms to my understandi...
-
Is the apk too big for react native to pack?
the apk packaged by react native is so big that it is about 10m without writing any code. How to slim down app? ...
-
How does the react native textarea text appear on the first line?
how is the text of textarea displayed on the first line? It is now displayed vertically and centered. ...
-
Error report when react-native simulator runs
after opening the simulator and running it for a period of time, Xcode will report an error, and the simulator will get stuck when it fails
what is the cause?
...
-
React-native quotes antd-mobile and reports an error view config not found for name div.
develop with react-native and quote Ant Financial Services Group s ant-mobile, to report that view config not found for name div, has introduced and configured babel-plugin-import. I don t know which boss has encountered this problem. Give me an answer...
-
Combined with react-navigation skin change function, TabNavigator can modify color, StackNavigator can not, why?
problem description
use react-native, and react-navigation to make a skin change function. The bottom BottomTabNavigator can dynamically change the color, but the top StackNavigator can not dynamically change the color. Why? if the page has not been ...
-
React-native suddenly made this mistake. I don't know why everything was fine before.
The question is shown in the picture. Does anyone know why? my code says this:
ChatMessage = (item) => {
const { navigate } = this.props.navigation;
item[ chattype ] = Friends
navigate( ChatMessage , item);
...
-
How to integrate X5 browser Kernel with react-native
how does react-native integrate the X5 browser kernel and how to X5 video player after successful integration
tried a lot of methods and found a lot of demo on the Internet. Many people gave up on this problem .
it is hoped that there will be a techn...
-
In react native, is there any way to determine whether users enable allow push?
the newly installed app, will ask if push is allowed, so what can react native do to detect whether the user allows it or not?
...
-
Some questions about data Management in react-native
has recently been developing a project for react-native.
there is such a piece of data on my first-level page. then click on the details and click on so-and-so to the third-level page, I changed the address information.
but when you go back to t...
-
How does react nest high-level components?
for example, I have the following high-level components
HocAdd(1)(Hoc(Count))
so in the writing of high-order components, how do you want to merge multiple logical components
...
-
How to splice JSX like html in React Naitve? For advice?
question:
example: a string from the background is as follows:
5
now I want to form such a jsx, based on this string in order to highlight the number 5 , so wrap a Text : in the outer layer of 5 .
<Text><Text>5< Text>< Text&...
-
How to learn react-native 's knowledge about Native modules
recently in the maintenance company s app, is written in react-native, which uses a number of plug-ins, such as react-native-camera, react-native-webview, react-native-modal, etc., most of these plug-ins only need to understand js to learn, encounter p...