You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This site is a simple demonstration on how to use ```map()``` and ```forEach()``
8
8
9
9
When I first used [React.js](https://reactjs.org), I discovered the javascript method ```map()``` to iterate over data in JSX. Having some previous experience writing functional code in JavaScript I already knew about ```forEach()```. At first glance, I thought they served the same purpose, but when I tried using ```forEach()``` in JSX it spit out a bunch of errors.
10
10
11
-
This set me on a journey to take a deep dive into understanding the nature of these methods. This website is sublemental material to my article written on **Medium.com**[The power of the map method](https://medium.com/@petertumulty/the-power-of-the-map-method-4db6b1a73655) on what I discovered.
11
+
This set me on a journey to take a deep dive into understanding the nature of these methods. This repository is a collection of my experiments and notes, which I've turned into a [github page](https://ptums.github.io/using-javascript-map-foreach-method/). I also published an article of my discoveries on **Medium.com**[The power of the map method](https://medium.com/@petertumulty/the-power-of-the-map-method-4db6b1a73655).
0 commit comments