Question · Vue.js course · Module 2: Template Syntax

Template Complexity

What should you do when a template becomes too complex?

Answer options

  • Leave it as is
  • Move it to inline styles
  • Extract it into computed properties or sub-components
  • Use jQuery
Show the answer

Correct answer:

  • Extract it into computed properties or sub-components