This is probably an easy one, but thought that I would ask anyway…
Have been away from CanJS for a while now on other projects, and decided to revisit for a new project and have noticed that there has been a ton of great work done since I have been away. So far I am really enjoying my experience…
Anyway my question is whether can.Control will eventually be replaced by can.Component or whether both will continue forward. There just seems to be some overlap between the two with can.Component getting most of the attention.
I used to use can.Control to wrap custom controls as well as widgets for easy re-use, but can now do the same with components and in a more declarative way. Also used to use it to better organize and handle routes, but this appears to be a depreciated method for routing as I see new examples using state maps in conjunction with component driven stache templates.
I just want to make sure that when we start our project that we are following best practices…
Could someone give me a quick explanation of when to use one over the other?