You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use lit-element together with mobx, for this i'm using webpack and bable. I'm using the folowing plugins for babel as described in the lit-element docs.
Thanks for the heads up. This is unfortunate. I think the Babel and TypeScript implementations of "legacy" decorators differ slightly. I think we can make it work by checking the arguments to the decorators more carefully.
I don't how this will fall on our priorities for the near term, so we'd definitely take contributions here.
I'm trying to use lit-element together with mobx, for this i'm using webpack and bable. I'm using the folowing plugins for babel as described in the lit-element docs.
The problem is that mobx requires legacy decorators and crashes when using @computed. However changing the above to:
Crashes babel with the error:
'decoratorsBeforeExport' can't be used with legacy decorators.
However removing 'decoratorsBeforeExport' breaks lit-element as property changes are no longer registered.
Is there some way to make the two play nice together??
The text was updated successfully, but these errors were encountered: