Skip to content

Commit 2ed77f2

Browse files
committed
add link to JavaScript API doc in Mozilla
1 parent ee29589 commit 2ed77f2

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)