Question · Vue.js course · Module 6: Components

Composable naming convention

How should a composable be named according to Vue conventions?

Answer options

  • End with 'Composable', e.g. dataComposable
  • Use UPPERCASE, e.g. MARSDATA
  • No particular naming rules
  • Start with 'use', e.g. useMarsData

You can check the correct answer by solving this task in the CodeWorlds game.