In AngularJS, Components are more self-contained than Directives. They enforce vertical rather than horizontal dependency. Also, the same concept exists in Vue which makes migration easier.
Some cases are not well translated into components, and should be handled some other way.
[x] kwicWord
[ ] tabHash
[ ] escaper
[x] searchSubmit
[x] meter
[x] popper
[x] tabSpinner
[ ] tabPreloader
[ ] clickCover
[x] toBody
[x] warning
[ ] typeaheadClickOpen
[x] timeInterval
[x] reduceSelect
[ ] globalFilters
[ ] globalFilter
[ ] mapCtrl
[x] newsDesk
[ ] textReaderCtrl
[ ] textReader
[ ] compareCtrl
[ ] exampleCtrl
[ ] kwicCtrl
[ ] statsResultCtrl
[ ] graphCtrl
[ ] wordpicCtrl
[ ] scrollToStart
And
[x] search history, which is not even consolidated into a directive, but spread across several files (history.js, services.js, main.ts, searchtabs.js); related:
In AngularJS, Components are more self-contained than Directives. They enforce vertical rather than horizontal dependency. Also, the same concept exists in Vue which makes migration easier.
Some cases are not well translated into components, and should be handled some other way.
And
118