How different are Ember component and Discourse widget?

Some rule of thumb on components/widgets choice:

  • if you are displaying a lot of it, you probably want to choose widgets for perf
  • widgets are more limited than components, and require more knowledge to get something working perfectly when building complex UI

So basically if perf is not a question and I can use it, I will prefer components. If perf is a question or if Im forced to (eg: using the plugin api to decorate another widget), I will probably use widgets.