Dashibase / lotion

An open-source Notion UI built with Vue 3
GNU General Public License v3.0
2.79k stars 132 forks source link

use reactive replace ref #58

Closed zhangenming closed 2 years ago

zhangenming commented 2 years ago

I think reactive is more appropriate than ref in this scenario

Please correct if I have any mistakes. Thank you

greentfrapp commented 2 years ago

Hey @zhangenming thanks for spotting this!

You're right that reactive is more appropriate than ref in this case. But I would leave it as ref for now for simplicity's sake, as well as overall consistency.

Keeping this open for now, in the case we change our mind in the future.