ReactNative common plug-ins

Project version introduction Currently used project node version V14 17.5, NPM version 6.14.14, the template used in reactnative project is combined with the project template architecture of typescript syntax. The installation method is as follows: npx react-native init xxx(Project name) --template react-native-template-typescript After com ...

Added by NZ_Kiwi on Mon, 07 Mar 2022 05:12:37 +0200

RN(React Native) Android 64 bit apk interface is stuck

RN Android 64 bit apk interface stuck Problem description The program developed by Rn is packaged with Anroid 64apk. After accessing the pangolin advertisement, start the application and operate for a period of time, and the interface will be stuck, Specifically, the embedded webview can click and slide, and the native interface can slide up ...

Added by kbascombe on Sat, 05 Mar 2022 05:50:01 +0200

Bottom principle of RN communication -- Summary

Facebook announced the plan and roadmap for large-scale reconstruction of Rn in June 2018. The purpose of the whole reconstruction is to make RN lighter, more suitable for mixed development, close to or even achieve the original experience. The technical core of the new architecture is JSI, and Turbomodule is implemented based on it. In the ho ...

Added by fallenangel1983 on Sun, 23 Jan 2022 08:29:22 +0200

React Hooks best practices

brief introduction React 16.8 was officially released on February 2019. It is a feature that can improve code quality and development efficiency. The author will first list some practical points for further discussion. However, it should be understood that there is no perfect best practice specification. For an efficient team, stable specific ...

Added by cyclefiend2000 on Fri, 14 Jan 2022 18:00:09 +0200

Research on Touch mechanism (PanResponder) in React Native

preface In the project, I encountered the need to customize components to realize some more complex functions. I was too troublesome to study before. Now I have made a basic understanding. I hope to provide some help to novices and avoid some stepping holes. Learn about PanResponder The most basic use of PanResponder Let's see how to us ...

Added by rascle on Wed, 29 Dec 2021 04:04:35 +0200

Android Development: explanation of Jetpack Compose Button,IconButton and other buttons

preface This article will explain the usage of Button, iconbutton, extendedfloatingactionbutton, floatingactionbutton, icontogglebutton, outlinebutton, RadioButton and textbutton in detail. Please read below if you are interested 1: Button usage Let's take a look at the source code of the Button (the OutlinedButton has the same properties a ...

Added by zulx on Fri, 10 Dec 2021 10:53:52 +0200