domql icon indicating copy to clipboard operation
domql copied to clipboard

Inheritance/Extend issue when using extend: 'string'

Open gugakatsi opened this issue 1 year ago • 0 comments

If you extend a component which extends other components via string, inheritance messes up, it doesn't works.

example:

baseCompA  = { 
   extend: 'Grid',
   props: { ... }
}
aBasedCompB = {
  extend: baseCompA,
  props: { ... }
}

basedCompA loses 'Grid' inheritance. If you change 'Grid' with object Grid {}, It will work as usual.

gugakatsi avatar Jul 07 '23 13:07 gugakatsi