Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

halaman Template Syntax #54

Merged
merged 12 commits into from
Mar 7, 2019
Merged

halaman Template Syntax #54

merged 12 commits into from
Mar 7, 2019

Conversation

huiralb
Copy link

@huiralb huiralb commented Mar 6, 2019

No description provided.

@huiralb huiralb mentioned this pull request Mar 6, 2019
Copy link
Member

@mazipan mazipan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Udah bagus mas, butuh perubahan sedikit aja.
Abis itu dibenerin kita bisa merge ini ya mas .

type: guide
order: 4
---
Vue.js menggunakan sintaks templat berbasis HTML yang memungkinkan anda secara deklaratif untuk binding hasil render DOM yang mendasari data dari Vue instance. Semua templat Vue.js adalah HTML yang valid yang dapat diuraikan oleh browser yang sesuai spesifikasi dan pengurai HTML.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semua kata Anda pake huruf A capital mas.


Vue.js uses an HTML-based template syntax that allows you to declaratively bind the rendered DOM to the underlying Vue instance's data. All Vue.js templates are valid HTML that can be parsed by spec-compliant browsers and HTML parsers.
Pada dasarnya, Vue mengkompilasi templat ke dalam fungsi render Virtual DOM. Dikombinasikan dengan sistem reaktivitas, Vue mampu secara cerdas mencari tahu jumlah minimum komponen untuk render ulang dan menerapkan jumlah minimal manipulasi DOM ketika state pada app berubah.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Virtual DOM -> DOM Virtual

``` html
<span v-once>This will never change: {{ msg }}</span>
```html
<span v-once>Ini tidak akan berubah: {{ msg }}</span>
Copy link
Member

@mazipan mazipan Mar 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tidak akan pernah

@huiralb
Copy link
Author

huiralb commented Mar 7, 2019

Terimakasih atas review nya mas @mazipan . Dan sudah saya revisi. Silahkan bisa dicek lagi.

@mazipan
Copy link
Member

mazipan commented Mar 7, 2019

Kena conflict nih mas @huiralb, bisa dibantu buat resolved juga gak ya?

@huiralb
Copy link
Author

huiralb commented Mar 7, 2019

bisa saja sih mas @mazipan . cara resolved nya bagaimana? clone langsung ke vuejs-id/docs ?

@mazipan mazipan merged commit 624e709 into vuejs-id:master Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants