Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 339
w.brian Avatar asked May 08 '14 18:05

w.brian


1 Answers

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.

like image 189
Günter Zöchbauer Avatar answered Oct 26 '22 20:10

Günter Zöchbauer