Skip to content

Review my Vue component

Your conversation
You

What should I look for when reviewing a Vue component?

Code companion

Build a component you can trust

Working with Code companion, here's a practical direction.

  1. Keep props explicit and state local to the feature.
  2. Handle loading, empty, and error states before adding polish.
  3. Test the user's interaction, including keyboard navigation.
  4. For your next iteration, pick one change and define how you will know it helped.
const status = ref<'idle' | 'loading' | 'error'>('idle')
const canSubmit = computed(() => prompt.value.trim().length > 0)

Next step: make a small prototype and see what you learn.

A demo workspace with simulated AI responses. A real place to explore ideas.