What is a component?
There are two ways to create components
2. Class components
Status of components
Instance property method
There are several methods to solve the problem of event binding this point
Controlled and uncontrolled of forms
What is a component?
Component is a part of the page. Us ...
Posted on Mon, 06 Dec 2021 17:14:39 -0500 by ryy705
The latest version of react scaffolding is already installed by default
Exposing webpack configuration
The webpack configuration for react is hidden by default and encapsulated in the react scaffold package.
To add your own configuration, you need to expose the webpack file.
npm run eject
The default configuration file is ...
Posted on Sun, 05 Dec 2021 20:27:19 -0500 by tmayder
Do you really think Google translation doesn't affect the function of "front-end" pages?backgroundIt was another fleeting working day. QA students suddenly put forward a bug, and the "counting" function of the text input box failed. After many searches, we finally found that it was because the test students turned on "G ...
Posted on Sun, 05 Dec 2021 09:37:26 -0500 by CoolAsCarlito
prefaceHello, I'm Lin Sanxin. Because of the needs of the work project, last month, I began to use React to develop the project. Today, it's almost a month. I want to share with you how I realized some functions in Vue in React.As this rookie has not used React for a long time, please pay attention to any defectsNote: the version of Vue referre ...
Posted on Sat, 04 Dec 2021 01:46:45 -0500 by romanali
1. Introduction to React
What is 1.1 React?
Send a request for dataProcessing data (filtering, organizing formats, etc.)Manipulate DOM rendering pages (what React does)
1.2 Disadvantag ...
Posted on Wed, 01 Dec 2021 15:08:12 -0500 by keevitaja
1, IntroductionThe React library provides the following API s, which can be called directly.2, Create element1,createElement()Function: create React element.// Function prototype
)There are two ways to create elements:Using JSX to create an element does not need to call createElement ...
Posted on Tue, 30 Nov 2021 17:49:35 -0500 by reinaldo