开发环境
安装nvm node
安装git
安装vscode
熟悉mac操作
photoshop(还未安装)
react
react 需要掌握知识
jsx
生命周期
合成事件
状态提升
类型检查
受控组件
和html中dom元素的区别
react 中的盲点记忆
render() 方法返回的是什么
react元素
jsx中怎么写js代码
用{}包起来
super()用来干嘛
继承父类的方法,才能取到正确的this值
书写注意项
各个属性换行,增强代码的可读性
react中不可变性为啥那么重要
利用不可变性方便组件的重新渲染
redux
redux需要掌握知识
dispath提交数据到store的流程
store取数据重新渲染组件的过程
redux的异步和中间件
redux的一些操作
import { Provider } from 'react-redux';
import store from './store'
class App extends Component{
render(){
return(
<Provider store={store}>
</Provider>
)
}
}
import { connect } from 'react-redux'
class List extends Component{
}
const mapState=(state)=>({});
const mapDispatch=(dispacth)=>({});
export default connect(mapState,mapDispatch)(List);
react-router
react-router-dom中的基本操作
router browerRouter hashRouter
route
link
redirect
switch
git
git需要掌握知识
git 基本操作
git 的提交规范
git 工作流
git 中不熟悉命令
git checkout -b <branch-name>
git push origin <branch-name>
git branch --set-upstream-to origin/<branch-name>
//各种错误撤销操作,好多记不得,哈哈
···········
git 创建分支以及提交到远程分支的整个流程
git checkout -b <branch-name>
git push origin <branch-name>
git branch -d <branch-name>
git push origin --delete <branch-name>
git checkout <branch-name>
git merge --no-ff <branch-name>
git branch
git branch -a
git branch -vv
git 提交修改到远程仓库
git status
git diff
git add .
git commit -m "<type>(scope):<subject>"
git push origin <local-branch>:<remote-branch>
antd
antd需要掌握知识
安装
按需加载
页面设计模式
组件