Javascript – Nuxt 3 sometimes I can omit .value when using useState, sometimes I can't, why?
Please see this minimum example, if I use useState , normally, I can write something like this: <script setup> const num = useState('num', () => 1); </script> <template> <div> {{ num }} </div> <div> {{ typeof num }} </div> <div>…