In React, communication between components is a very important topic. When we build complex applications, we often need different components to share data or collaborate […]
React Native
Improve speed and performance with React Native JSI
First published on public account front-end hybrid development , welcome to pay attention. As a cross-platform mobile app development framework, React Native needs to communicate with […]
ReactNative: Use react-native-mmkv to improve application performance
When working with React Native, you’ve most likely already used React AsyncStorageas a storage solution. For example, you can use AsyncStorageto store key-value pairs, such as your […]
usePolymerAction
background With the popularity of React Hooks, component logic writing has become functional; logical function declarations and function code structures , as the logic increases in complexity, […]
The difference between elements and components in React
Start from the problem I was asked this question: If you want to implement a useTitlemethod, the specific usage examples are as follows: functionHeader () { […]
React-Create a global Tooltip text prompt component
Preface When I used antd’s tooltip component in a recent project, I found that it is a bit unstable. It often floats to the upper […]
Why doesn’t React recommend Vite as the default?
In the documentation, the preferred way Reactto build a new application is (create-react-app).ReactCRA CRAIt was launched in 2016. At that time, there were no systematic Reactscaffolding tools for everyone […]
See the difference in design concepts between React and Vue from useEffect
We know that after Reactits release Hooks, it brought a wave of Hooksenthusiasm in the industry. Many frameworks (such as Vue Composition API, Solid.js) have borrowed Hookspatterns from . However, even […]
2 strange ways to write React
Although Reactthe official website uses a lot of space to introduce best practices, due to JSXthe flexibility of the grammar, strange Reactwriting methods always appear. This article introduces […]
Implement a breadcrumb navigation using React high-order components
What are React higher-order components React high-order components wrap the React components that need to be modified in the form of high-order functions and return […]