🎈 perf(存储):

This commit is contained in:
xuan 2022-08-30 11:13:18 +08:00
parent 9eb68f8d91
commit 87649b4f27
4 changed files with 1707 additions and 44271 deletions

42585
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -58,6 +58,7 @@
"@babel/core": "^7.8.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
"@tarojs/plugin-mini-ci": "^3.5.1",
"@tarojs/plugin-platform-weapp": "^3.5.4",
"@tarojs/plugin-react-devtools": "^3.4.13",
"@tarojs/webpack5-runner": "^3.5.4",
"@types/qs": "^6.9.7",

View File

@ -1,10 +1,30 @@
import { isEmptyObject } from '@/common/common'
import { View } from '@tarojs/components'
import { Button, View } from '@tarojs/components'
import { FC, memo, useState } from 'react'
import styles from './index.module.scss'
const SonComp: FC = memo(() => {
return <View className=''>{new Date().getTime()}</View>
})
// 我的
const User = () => {
const obj = {}
console.log(isEmptyObject(obj))
return <View className={styles['main']}>sdfasdfasdf</View>
const [count, setCount] = useState(0)
const handleCount = () => {
setCount((prev) => {
return prev + 1
})
}
return (
<>
<View className={styles['main']}>
sdfasdfasdf {count}
<Button onClick={handleCount}>+1</Button>
<SonComp />
</View>
</>
)
}
export default User

3368
yarn.lock

File diff suppressed because it is too large Load Diff