4.6. Admin Development Constraints
This chapter lists some development constraints of admin widgets and UI routes.
Arrow Functions#
Widget and UI route components must be created as arrow functions. Otherwise, Medusa doesn't register them correctly.
Widget Zone#
A widget zone's value must be wrapped in double or single quotes. It can't be a template literal or a variable. Otherwise, Medusa doesn't register the widget correctly.
Was this chapter helpful?