Day07_CSS class notes
Day07 CSS class notes
1 Review
1. CSS Styles: background
background-color
background-image
background-repeat
background-position / background-position-x / background-position-y
background-attachment
background
2. CSS Styles: mouse cursor styles
cursor: pointer / move
3. CSS Styles: list properties
list-style-type
...
Posted by asd on Wed, 29 Dec 2021 06:06:36 +0100
Learning about new company projects
On the first day, use svn to pull down the project, and then use yarn to install dependencies. What's the use of yarn? Why do many people use yarn now,
Advantages of yarn
Parallel installation, npm is installed in sequence, so the speed of yarn will be faster,
Reuse the cache package. If a software package has been installed before, it wil ...
Posted by zerGinfested on Wed, 29 Dec 2021 01:45:19 +0100
React project construction and page routing
React project construction
In the use of react framework, react scaffolding is often used to simplify the creation of react projects.
Construction of React scaffold
(1) Global install React scaffold:
npm install -g create-react-app
(2) Build react project - myapp:
npx create-react-app myapp
Other methods:
yarn create react-app mya ...
Posted by rajeevbharti on Tue, 28 Dec 2021 17:38:29 +0100
Yeoman scaffold principle manual implementation
catalogue
1. Introduction to Yeoman
2. Yeoman uses
3. Manually implement the yeoman construction project
4. Summary
1. Introduction to Yeoman
Yeoman is a general type scaffold used to automatically build js projects. Unlike Vue cli, create react app and angular cli, yeoman can do the same for generating scaffolds for specific types of pr ...
Posted by desenhistas on Tue, 28 Dec 2021 15:50:49 +0100
Vue learning notes
1. First Vue example
Resolution: {{meshage}} find the data with the same name as the meshage in data, and convert the value into the value bound by the meshage in data Note: {{message}} is called difference expression
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>first Vue Example</title> ...
Posted by Procode on Tue, 28 Dec 2021 12:06:42 +0100
Create an earth using Mars3d
mars3d is Mars Technology A 3D client development platform based on WebGL technology is developed, which can quickly access and use a variety of GIS data and 3D models to present the visualization of 3D space.
Get Mars3D
Mars3D provides a variety of installation methods. You can choose any of the following installation methods according to th ...
Posted by Spear Chucka on Tue, 28 Dec 2021 11:51:34 +0100
React. Differences among memo(), useCallback(), and useMemo()
React.memo()React.useCallback()React.useMemo()
React.memo()
In React, when the props or state of the component changes, the view will be re rendered, and the actual development will encounter unnecessary rendering scenes. Take an example:
Subcomponents:
function ChildComp () {
console.log('render child-comp ...')
return <div>Child ...
Posted by scarabee on Tue, 28 Dec 2021 09:54:48 +0100
Positioning practice of react native
Positioning practice of react native
What do we want when we talk about positioning?
WGS-84 longitude and latitude (i.e. gps longitude and latitude) or GCJ-02 longitude and latitude (Chinese coordinate offset standard, which is applicable to Gaode and Tencent maps) or BD-09 longitude and latitude (Baidu coordinate offset standard, which is us ...
Posted by ctimmer on Tue, 28 Dec 2021 09:22:57 +0100
Page text annotation
Effect achieved:
There are generally two ways to realize the annotation function:
1, The back end will store the data in two parts: ① plain text in the article area ② string containing HTML structure
When the front end requests data, it will be directly returned to the front end, and the front end will display it directly. ...
Posted by Bad HAL 9000 on Tue, 28 Dec 2021 06:19:43 +0100
The antd Upload component is used, and there is a flashing problem
1. Introduction to upload
1.1 when used in a real project, you need to have a transit address. The address in action in upload is the address for storing pictures, not the address for adding and deleting data directly stored in the database in the background (important).
The address in action in upload is the address where the picture is stor ...
Posted by superhaggis on Tue, 28 Dec 2021 05:05:26 +0100