Discourse Theme Components vs Plugins

Its probably better to build functionality as a ‘Theme Component’ rather than a ‘Plugin’ as they are easier to maintain, although that is your own choice.