It seems it works. Cloned to local via git, edited info.yml and tested. No error/bug for me.
I prepared MR, that works for me locally. I am sorry but no time to write/adjust tests or add some config options to choose (and maintain backward compatible behaviors).
kmajzlik → created an issue.
For me it works fine without errors with patch from that MR.
#[Bundle(
entityType: 'taxonomy_term',
bundle: 'coupons',
label: new TranslatableMarkup('Region'),
)]
#[Bundle(
entityType: 'taxonomy_term',
bundle: 'leaflets',
label: new TranslatableMarkup('Region'),
)]
class MyTerm extends Term {}
kmajzlik → created an issue.
Hooks are back as good developer way with D11.1
kmajzlik → created an issue.
These can be advantages (but it really depends on conditions):
1) Drupal is hidden (if you don't upgrade even because of security you are not in so big risk)
2) your servers can chill because load is usually much lower (typical usecase, but may differ)
3) hiring really good React developer is much much easier compared to hiring Drupal guy with great frontend knowledge (this is almost impossible now)
But yes, initial cost can be higher, you add complexity (which you can easily outsource)