Created
November 14, 2017 21:16
-
-
Save jordanskomer/9ee3d8b0673dfd75afd9d7aa2c230317 to your computer and use it in GitHub Desktop.
The Gotchas of Vue.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------- | |
| Don't use ES6 in computed values | |
| -------- | |
| Ex: Won't Work | |
| computed: { | |
| test: () => { | |
| return 'test' | |
| } | |
| } | |
| Ex: Will Work | |
| computed: { | |
| test: function() { | |
| return 'test | |
| } | |
| } | |
| -------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment