本来这次分享题目是React + Redux 最佳实践
的,但是考虑到前端一天一个框架的更新节奏,最后我还是把最佳
去掉,简单分享一下自己使用react
+rredux
的经验,我将从一下几个方面进行分享
Redux
项目相关工具Redux
相关概念React
+Redux
+Webpack
的构建流程- 如何更方便的
Mock
数据 - 如何写测试
- 其他一些Tips
- 如何使用context和refs
pre-commit.sample
cp .git/hooks/pre-commit.sample .git/hooks/pre-commit
pre-commit
#!/bin/sh
# Fixes merge requests prior to gitlabhq 5.1 | |
# without losing the commits for closed merge requests | |
# (as the official migration script does). | |
# run this in Rails console | |
failed = [] | |
MergeRequest.all.each do |mr| | |
begin |
/* | |
_ooOoo_ | |
o8888888o | |
88" . "88 | |
(| -_- |) | |
O\ = /O | |
____/`---'\____ | |
.' \\| |// `. | |
/ \\||| : |||// \ | |
/ _||||| -:- |||||- \ |
On the top of the Working view, there should be a message explaining to user that they were assigned as task: "Hi
Ming
, you were assigned this task byRain
at<company name>
. You can update progress on this page."