Skip to content

Commit f6335cc

Browse files
committed
Merge pull request #1 from kkpoon/kkpoon-link-to-mozilla-doc
add link to JavaScript API doc in Mozilla
2 parents ee29589 + 2ed77f2 commit f6335cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ UserList(data.users, likesPerUser, updateUserLikes);
164164

165165
Unfortunately, since there are so many list of lists all over the place in UIs, it becomes quite a lot of boilerplate to manage that explicitly.
166166

167-
We can move some of this boilerplate out of our critical business logic by deferring execution of a function. For example, by using "currying" (`bind` in JavaScript). Then we pass the state through from outside our core functions that are now free of boilerplate.
167+
We can move some of this boilerplate out of our critical business logic by deferring execution of a function. For example, by using "currying" ([`bind`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) in JavaScript). Then we pass the state through from outside our core functions that are now free of boilerplate.
168168

169169
This isn't reducing boilerplate but is at least moving it out of the critical business logic.
170170

0 commit comments

Comments
 (0)