w.brian
w.brian

Reputation: 17387

Now that Controller is deprecated, what do I use instead?

I have two top level controllers, and now that Controller is deprecated, I'm wondering how to convert them to whatever it is they need to be.

Upvotes: 8

Views: 1546

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657268

In the answer of a similar question it was already mentioned that even though Controller is already deprecated there is no replacement yet but will be before 1.0.

As far as I read from recent issue updates Template is planned to become the replacement for Controller and Decorator/Directive. I haven't checked but I think it is not yet shipped in 0.11.0.

My understanding is that Template is a combination of Controller and Component without shadowDOM.

Upvotes: 5

Related Questions