2021-04-17 the use method of hooks listView long list in antd moblie, enter the error reporting dataSource for the second time, and report the error must be the same
Official usage (custom container) https://mobile.ant.design/components/list-view-cn/#components-list-view-demo-basic-sticky The official method of use is very smooth at first glance, but there will be some unexpected problems as soon as the data is put on. I have deep experience
At first glance, some friends may not understand the meaning of o ...
Added by robinjohn on Fri, 04 Mar 2022 23:52:15 +0200
Build react+typescript+antd project from scratch
Step 1: create a project through create react app
npx create-react-app ai_video_project_frontend --template typescript
When you open the project in vscode, you can see that the react project is successfully generated and the suffix of the component is tsx. At this time, it indicates that the prototype of react+typescript project is succ ...
Added by seran128 on Mon, 03 Jan 2022 08:58:54 +0200
Manage background antd3 upgrade antd4
Official upgrade document https://ant.design/docs/react/migration-v4-cn
1, Upgrade preparation
Upgrade react to 16.14.0 0: yarn add react@16.14.0
Upgrade react DOM to 16.14.0 0: yarn add react-dom@16.14.0
New version antd4: yarn add antd@4.16.12
antd3 compatible Icon and Form transition package: yarn add @ Ant Design / compatible
2, Execute
np ...
Added by oneofayykind on Tue, 28 Dec 2021 13:02:05 +0200
[Antd] how to clear the filter items after the Table component data is re rendered
First, let's talk about the scene I encountered:
As shown in the figure above, after clicking the operation button, the list data will be re requested and the list data will be updated. At this time, if I filter the Age column first, and then click the operation button to update the data, I will find that the data rendered on the list is fil ...
Added by Qaid on Sun, 19 Sep 2021 16:36:50 +0300