-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Description
What problem does this feature solve?
for example in render function:
const a = 'Hello world unReactivity'
export default {
render(c){
return c(div,[a])
}
}
here the a is not a reactivity data,but when we use template,it seems that we must make a to be a reactivity data?sometimes is not in need.
What does the proposed API look like?
<template>
<div>
{{ a }}
</div>
</template>
<script>
export default {
unReactivity:{
a: 'Hello world unReactivity'
}
}
</script>
Metadata
Metadata
Assignees
Labels
No labels