Learning of React framework

What is React? React is a declarative, efficient, and flexible JavaScript library for building user interfaces 1, Environment construction Use create React app to quickly build React development environment Create React app is from Facebook. With this command, we can quickly build the React development environment without config ...

Added by CleoK on Wed, 05 Jan 2022 03:49:28 +0200

The El form item attribute prop in element

Recently, I was responsible for front-end and back-end project development. One requirement is to implement djangorest framework (drf) + element to dynamically render form forms. The drf back-end provides json, and the front-end obtains form elements from json and binds form validation rules An error is reported on the property prop of El form ...

Added by BK87 on Wed, 05 Jan 2022 03:04:54 +0200

React series - Jsx, composite events and Refs

The birth of JSXReact uses JSX instead of regular JavaScript.JSX is a JavaScript syntax extension that looks much like XML.We don't have to use JSX, but it has the following advantages:JSX executes faster because it is optimized after compiling into JavaScript code.It is type safe and errors can be found during compilation.Writing templates usi ...

Added by lihman on Wed, 05 Jan 2022 02:42:59 +0200

[wechat applet cloud development] learn to upload, download, preview and delete pictures in 1 minute, and display pictures in Jiugong grid

Hello, my name is little bald monk This article is to explain how cloud development can upload, download, preview and delete images, and display the functions of images in a nine house grid @ 1. Realization effect Don't talk nonsense. Look at the effect first explain: In the middle of the pause, I was choosing to upload photos. Click the &qu ...

Added by Viola on Wed, 05 Jan 2022 02:11:17 +0200

Vue3 - kick off setup

Compare vue2 0, Vue3 is most different in that data() becomes setup() setup is a new configuration item in Vue3. The value is a function The data and methods used in the component shall be configured in setup There are two return values of the setup function: 1. If you want to return an object, the properties, methods and in the object can ...

Added by ashwood on Tue, 04 Jan 2022 23:06:45 +0200

Go Language Programming Notes 17: Web Service

Go Language Programming Notes 17: Web Service Source: wallpapercave.com Through a series of articles, I introduced how to build a Web application in Go language, specifically a website. In fact, not all Web applications exist in the form of websites, and a considerable part of them are Web services. Compared with the former, the latter has ...

Added by OldWolf on Tue, 04 Jan 2022 21:39:01 +0200

TS react: sort the types commonly used in react

React. There are some problems with FC annotation. There is some controversy on whether to use this type as annotation first, because this type destroys JSX Librarymanagedattributes, which causes it to ignore parameters such as defaultsProps and displayName of function and class components, See details In addition, it cannot return the children ...

Added by jpschwartz on Tue, 04 Jan 2022 21:09:16 +0200

Intensive reading of Records & Tuples for React

Following the previous article Intensive reading of records & tuples proposal , some people have been thinking about what problems this proposal can help React solve, such as this article Records & Tuples for React , it was mentioned that many React pain points can be solved.In fact, I'm worried about whether the browser can optimize th ...

Added by Unforgiven on Tue, 04 Jan 2022 19:38:38 +0200

Grid layout

layout What is layout Layout is to divide the pages into pieces according to their own ideals, arrange them in order, and save them for the contents Several ways of layout Table layout (not commonly used now)div+position+float layoutgrid layout (generally responsible for comparing regular pages)flex layout (generally applicable to the la ...

Added by adam1984 on Tue, 04 Jan 2022 18:00:38 +0200

An article takes you easy to get started

I Introduction to JavaScript (1) Why learn JavaScript. A. HTML+CSS can only have static pages, but there is no dynamic effect. B. JS can verify form data. C. Switch TAB menu. D. Switching of background pictures. E. JS game development. (2) JS concept Literal translation: without compilation, the browser kernel can directly interpret and exe ...

Added by sONOCOOLO on Tue, 04 Jan 2022 17:27:30 +0200