---
title: "Discussion on \"Validating your Vue Props like a Pro\" | Hashnode"
description: "Discussion on \"Validating your Vue Props like a Pro\". Vue requires to explicit declare any data passed to a component as props. Additionally, it provides a powerful built-in mechanism to validate this data. This acts as a contract between the component and the consumer and ensures that the component is ..."
url: "https://hashnode.com/posts/validating-your-vue-props-like-a-pro-5a2d0ed2b2d6/63c417ed01dac63ce8c89bf6"
---

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

Discussion

# [Validating your Vue Props like a Pro](https://fadamakis.hashnode.dev/validating-your-vue-props-like-a-pro-5a2d0ed2b2d6?utm_source=hashnode&utm_medium=feed)

Vue requires to explicit declare any data passed to a component as props. Additionally, it provides a powerful built-in mechanism to validate this data. This acts as a contract between the component and the consumer and ensures that the component is ...

Aug 9, 2022 · 3 min read · fadamakis.hashnode.dev  
Read the article

-   [#vuejs](https://hashnode.com/tag/vuejs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Fotis Adamakis](https://hashnode.com/@fadamakis)

@fadamakis · Barcelona, Spain

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

Senior Front End Engineer

Front End Engineer @ Glovo // Vue.js Athens Meetup Coorganizer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
