@vue-lynx-example/basic
v0.2.1
Published
Vue-Lynx basic demo examples
Readme
Basic Example
Validates the full SFC pipeline end-to-end:
.vue file → @vue/compiler-dom → template render function
→ vue-lynx nodeOps → ops buffer → callLepusMethod
→ Main Thread applyOps → PAPI → native renderSFC Features Exercised
See src/App.vue and src/Counter.vue:
<script setup>withdefineProps/defineEmits{{ interpolation }}:style/ dynamic bindingv-if/v-else,v-show,v-for@tapevent- Child component reference
h() Counter
src/h-counter.ts is a standalone entry using plain h() render functions (no SFC, no compiler). It validates the renderer stack in the simplest possible way:
h() + ref() + onMounted() + bindtap
→ nodeOps → ops buffer → callLepusMethod('vuePatchUpdate')
→ Main Thread applyOps → PAPI → native renderPreserved from the original MVP proof-of-concept session.
