Skip to content

Commit 20e7308

Browse files
authored
Merge pull request #157 from Lemoncode/hooks
Hooks
2 parents a489ba7 + 62a345f commit 20e7308

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

readme.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ We have incorporated a set of examples based on hooks.
77

88
Right now you got two main folders:
99

10-
- Hooks: set of samples migrated to hooks (right now 11 samples migrated), if you are new to
10+
- [Hooks](./hooks): set of samples migrated to hooks (right now 11 samples migrated), if you are new to
1111
React, or you are going to start working on a new project, I recommend you going through these
1212
examples.
1313

14-
- Old_class_components_samples: The old samples, just in case you need to work with older react
14+
- [Old_class_components_samples](./old_class_components_samples): The old samples, just in case you need to work with older react
1515
versions or you need to maintain legacy code.
1616

1717
You can check as well other repos (react / redux + typescript):
@@ -115,44 +115,44 @@ axios to perform the fetch call.
115115

116116
## Old Class folder
117117

118-
## 00 Boiler plate
118+
### 00 Boiler plate
119119

120120
Bundling + npm start based on webpack.
121121

122-
## 01 Hello React
122+
### 01 Hello React
123123

124124
Hello world, simples react render sample.
125125

126-
## 02 Components
126+
### 02 Components
127127

128128
Creating a common header and about page react components.
129129

130-
## 03 Navigation
130+
### 03 Navigation
131131

132132
Creating a "members" page, adding navigation using react-router.
133133

134-
## 04 Display data
134+
### 04 Display data
135135

136136
Create a read only list component (table >> tr >> td), reading list of members
137137
from a fake api and dumping it into component state.
138138

139-
## 05 Presentational Components
139+
### 05 Presentational Components
140140

141141
Breaking the list component into two: list and row compomenent, member row
142142
entity passed via props.
143143

144-
## 06 Handling asynchronous calls
144+
### 06 Handling asynchronous calls
145145

146146
Members fake api replaced with async call to api github to retrieve list of
147147
members of a given team.
148148

149-
## 07 Forms
149+
### 07 Forms
150150

151151
In this sample we will add a link in the members page that will navigate to a
152152
"new member page". This new page will display a form where you have to enter
153153
the avatar url, login and id of a new member (just supossing we can edit that info).
154154

155-
## 08 ParamNavigation + Validations
155+
### 08 ParamNavigation + Validations
156156

157157
Edit a given member, here we learn how to add params to a navigation link and
158158
how to obtain them from a component.
@@ -161,47 +161,47 @@ Validation performed so far:
161161

162162
- Login: required, must be a string (at least length 3).
163163

164-
## 09 Redux
164+
### 09 Redux
165165

166166
Added Redux support, isolated state into Redux reducers, implement load, save,
167167
basic validation cycle. This sample uses the fake api, in following samples
168168
we will call async operations and fitting them into Redux architecture.
169169

170-
## 10 SpinnerAsync
170+
### 10 SpinnerAsync
171171

172172
Display a busy indicator when an ajax request is in progress.
173173

174174
To have a global count of promises gong on we are using [reat-promise-tracker](https://github.com/Lemoncode/react-promise-tracker) and to display a cool spinner [react-spinner](https://github.com/davidhu2000/react-spinners)
175175

176-
## 11 Testing reducers
176+
### 11 Testing reducers
177177

178178
Sample updated using Jest.
179179

180-
## 12 Testing actions
180+
### 12 Testing actions
181181

182182
Sample updated using Jest.
183183

184-
## 13 Testing components (Containers and Presentationals)
184+
### 13 Testing components (Containers and Presentationals)
185185

186186
Pending update Jest + Enzyme
187187

188-
## 14 Replacing Redux Thunk with Redux Saga
188+
### 14 Replacing Redux Thunk with Redux Saga
189189

190190
Pending update
191191

192-
## 15 Lazy Loading and React-Router
192+
### 15 Lazy Loading and React-Router
193193

194194
Pending update
195195

196-
## 16 Add custom middlewares
196+
### 16 Add custom middlewares
197197

198198
Pending update
199199

200-
## 17 Add support for ReactHotloader and ReduxDev Tools.
200+
### 17 Add support for ReactHotloader and ReduxDev Tools.
201201

202202
Pending update
203203

204-
## 18 Hooks
204+
### 18 Hooks
205205

206206
Replace class components by stateless components using Hooks.
207207

0 commit comments

Comments
 (0)