composables

In composables , what is prefered use useState or ref , and why ?
Was this page helpful?