Skip to content

Commit da96df3

Browse files
authored
Merge pull request #70 from Codebrahma/blog-post-fixes
Blog Post - Code and Frontmatter Config Fixes
2 parents 772945a + e0f8bed commit da96df3

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

posts/efficient-handling-of-react-alerts-with-hoc/2019-07-29-efficient-handling-of-react-alerts-with-higher-order-component-hoc.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ keywords:
1313
- react
1414
- higher order components
1515
- react alerts
16-
image: ./images/withAlertHOC.png
1716
link: /efficient-handling-of-react-alerts-with-higher-order-component-hoc
1817
category:
1918
- Tutorial

posts/intercepting-the-case-battle-between-snakes-and-camels-in-front-end-javascript/2019-11-19-intercepting-the-case-battle-between-snakes-and-camels-in-front-end-javascript.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ keywords:
1111
- Functional Programming
1212
- React
1313
- Http Client
14-
image: ./images/snakes_vs_camels.png
1514
link: /intercepting-the-case-battle-between-snakes-and-camels-in-front-end-javascript
1615
category:
1716
- Tutorial

posts/processing-sequential-javascript-promises-using-functional-composition/2020-03-26-processing-sequential-javascript-promises-using-functional-composition.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,12 @@ Preserving reference to `this` — Promise fulfilling function does not have acc
308308

309309
```jsx
310310
const promisePipe = (...functions) => (...initialArgs) => {
311-
return functions
312-
.reduce((currFunc, nextFunc) => {
313-
return **promiseChainer(currFunc, nextFunc);**
314-
})
315-
.call(this, ...initialArgs);
316-
};
311+
return functions
312+
.reduce((currFunc, nextFunc) => {
313+
return promiseChainer(currFunc, nextFunc)
314+
})
315+
.call(this, ...initialArgs)
316+
}
317317
```
318318

319319
Let’s apply `promisePipe` to our problem.

0 commit comments

Comments
 (0)