Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

For a simple form use case is it better to use controllers or components?

$
0
0

@gjhawar wrote:

I have a use case where I am using a tabbed controller to display some tabs and some forms under each tab and the user can jump back and forth between these tabs/forms to fill them. They all have different fields and can have some properties that can be dependent on each other. Is it better to use a controller or a component for this scenario?

Also, I need to be able to add/ remove similar divs like for example : a user can have multiple addresses so in that case components make more sense.

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles