---
title: "Reactivity basics · vuejs.school"
description: "Make state that updates the page with ref() and reactive(), and learn when to write .value."
canonical_url: "https://vuejs.school/learn/beginner/reactivity-basics"
meta:
  "og:description": "Make state that updates the page with ref() and reactive(), and learn when to write .value."
  "og:image": "https://vuejs.school/_og/d/a_~UmVhY3Rpdml0eSBiYXNpY3MgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_Reactivity%2Bbasics%2Cdescription_~TWFrZSBzdGF0ZSB0aGF0IHVwZGF0ZXMgdGhlIHBhZ2Ugd2l0aCByZWYoKSBhbmQgcmVhY3RpdmUoKSwgYW5kIGxlYXJuIHdoZW4gdG8gd3JpdGUgLnZhbHVlLg%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDIgb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9yZWFjdGl2aXR5LWJhc2ljcyI%2Cs_KVZ8Kogl5tvsOYt3.png"
  "og:image:alt": "Reactivity basics · vuejs.school"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Reactivity basics · vuejs.school"
  "twitter:image": "https://vuejs.school/_og/d/a_~UmVhY3Rpdml0eSBiYXNpY3MgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_Reactivity%2Bbasics%2Cdescription_~TWFrZSBzdGF0ZSB0aGF0IHVwZGF0ZXMgdGhlIHBhZ2Ugd2l0aCByZWYoKSBhbmQgcmVhY3RpdmUoKSwgYW5kIGxlYXJuIHdoZW4gdG8gd3JpdGUgLnZhbHVlLg%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDIgb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9yZWFjdGl2aXR5LWJhc2ljcyI%2Cs_KVZ8Kogl5tvsOYt3.png"
  "twitter:image:alt": "Reactivity basics · vuejs.school"
---

> Index of every page on this site: [llms.txt](https://vuejs.school/llms.txt)

# **Reactivity basics**

Make state that updates the page with ref() and reactive(), and learn when to write .value.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://vuejs.school/#website","@type":"WebSite","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school/","publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/beginner/reactivity-basics#webpage","@type":"WebPage","description":"Make state that updates the page with ref() and reactive(), and learn when to write .value.","name":"Reactivity basics","url":"https://vuejs.school/learn/beginner/reactivity-basics","breadcrumb":{"@id":"https://vuejs.school/learn/beginner/reactivity-basics#breadcrumb"},"isPartOf":{"@id":"https://vuejs.school/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://vuejs.school/learn/beginner/reactivity-basics"]}],"primaryImageOfPage":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/#identity","@type":"Organization","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school","logo":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/learn/beginner/reactivity-basics#article","description":"Make state that updates the page with ref() and reactive(), and learn when to write .value.","headline":"Reactivity basics","inLanguage":"en","isAccessibleForFree":true,"thumbnailUrl":"https://vuejs.school/_og/d/a_~UmVhY3Rpdml0eSBiYXNpY3MgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_Reactivity%2Bbasics%2Cdescription_~TWFrZSBzdGF0ZSB0aGF0IHVwZGF0ZXMgdGhlIHBhZ2Ugd2l0aCByZWYoKSBhbmQgcmVhY3RpdmUoKSwgYW5kIGxlYXJuIHdoZW4gdG8gd3JpdGUgLnZhbHVlLg%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDIgb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9yZWFjdGl2aXR5LWJhc2ljcyI%2Cs_KVZ8Kogl5tvsOYt3.png","@type":["Article","TechArticle"],"articleSection":["Reactivity"],"author":{"@id":"https://vuejs.school/#identity"},"image":{"@id":"https://vuejs.school/#/schema/image/1"},"isPartOf":{"@id":"https://vuejs.school/learn/beginner/reactivity-basics#webpage"},"keywords":["ref()",".value","reactive()","tracking"],"mainEntityOfPage":{"@id":"https://vuejs.school/learn/beginner/reactivity-basics#webpage"},"publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/beginner/reactivity-basics#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Skill tree","item":"https://vuejs.school/track","position":1},{"@type":"ListItem","name":"Beginner","item":"https://vuejs.school/track/beginner","position":2},{"@type":"ListItem","name":"Reactivity basics","position":3}]},{"@id":"https://vuejs.school/#logo","@type":"ImageObject","caption":"vuejs.school","contentUrl":"https://vuejs.school/apple-touch-icon.png","inLanguage":"en","url":"https://vuejs.school/apple-touch-icon.png"},{"@id":"https://vuejs.school/#/schema/image/1","@type":"ImageObject","contentUrl":"https://vuejs.school/_og/d/a_~UmVhY3Rpdml0eSBiYXNpY3MgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_Reactivity%2Bbasics%2Cdescription_~TWFrZSBzdGF0ZSB0aGF0IHVwZGF0ZXMgdGhlIHBhZ2Ugd2l0aCByZWYoKSBhbmQgcmVhY3RpdmUoKSwgYW5kIGxlYXJuIHdoZW4gdG8gd3JpdGUgLnZhbHVlLg%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDIgb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9yZWFjdGl2aXR5LWJhc2ljcyI%2Cs_KVZ8Kogl5tvsOYt3.png","inLanguage":"en","url":"https://vuejs.school/_og/d/a_~UmVhY3Rpdml0eSBiYXNpY3MgwrcgdnVlanMuc2Nob29s%2Cc_OgCard.takumi%2Ctitle_Reactivity%2Bbasics%2Cdescription_~TWFrZSBzdGF0ZSB0aGF0IHVwZGF0ZXMgdGhlIHBhZ2Ugd2l0aCByZWYoKSBhbmQgcmVhY3RpdmUoKSwgYW5kIGxlYXJuIHdoZW4gdG8gd3JpdGUgLnZhbHVlLg%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDIgb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9yZWFjdGl2aXR5LWJhc2ljcyI%2Cs_KVZ8Kogl5tvsOYt3.png"}]}
```