Review my Vue component
Code companion
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.
- Keep props explicit and state local to the feature.
- Handle loading, empty, and error states before adding polish.
- Test the user's interaction, including keyboard navigation.
- 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.