Skip to content

Commit 46f4fa0

Browse files
committed
add link to explanation of factory functions in composition.md
1 parent 6e8be5a commit 46f4fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ Above, a developer has hijacked the component for a new kind of note that is not
417417

418418
## Factory Functions
419419

420-
**Factory functions** are functions that return component options, like this:
420+
[**Factory functions**](https://medium.com/javascript-scene/javascript-factory-functions-with-es6-4d224591a8b1) are functions that return an object - in our case, component options:
421421

422422
``` js
423423
function createComponent (options) {

0 commit comments

Comments
 (0)