1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +00:00
laravel-tips/content/tips/if-you-dont-like-the-double-indentation-of-vue-data-you-can-use-arrow-functions.md
2021-04-07 20:16:47 +02:00

477 B

title tweet_id thread_slug author_username images created_at slug
If you don't like the "double indentation" of Vue data(), you can use arrow functions 1285486044561969154 1-rt-1-tip samuelstancl
https://pbs.twimg.com/media/Edb2vN0XoAEnunt.png
https://pbs.twimg.com/media/Edb2vO8WoAAAcdX.png
2020-07-21T08:05:30+00:00 if-you-dont-like-the-double-indentation-of-vue-data-you-can-use-arrow-functions

Left: double nesting Right: arrow function