---
title: "Discussion on \"Write less VueJS Code using the <component /> component\" | Hashnode"
description: "Discussion on \"Write less VueJS Code using the <component /> component\". I finished the recommendation system, and it had 49 levels of nested if's\n\nSo sayeth Adam (a friend) and that was how he to be known as \"The Lord of Nested if's\". To bring this into perspective, Imagine the following code\nif a_condition_is_met: # lev..."
url: "https://hashnode.com/posts/write-less-vuejs-code-using-the-lesscomponent-greater-component/5f0de80cb4ef0003cbadab24"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Write less VueJS Code using the <component /> component](https://blog.amustapha.com/write-less-vuejs-code-using-the-lesscomponent-greater-component?utm_source=hashnode&utm_medium=feed)

I finished the recommendation system, and it had 49 levels of nested if's So sayeth Adam (a friend) and that was how he to be known as "The Lord of Nested if's". To bring this into perspective, Imagine the following code if a\_condition\_is\_met: # lev...

Jul 14, 2020 · 3 min read · blog.amustapha.com  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#vuejs](https://hashnode.com/tag/vuejs)
-   [#clean-code](https://hashnode.com/tag/clean-code)

## Written by

[Abdulhakeem Mustapha](https://hashnode.com/@amustapha)

@amustapha · Kano, Nigeria.

  
[View profile](https://hashnode.com/@amustapha)

Software Engineer | Startup Founder

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
