Closed bpmweel closed 2 years ago
I consider this task finish. But as a note, I only refactor those components that were made by us from scratch.
Components where we introduced small or not that small changes to terria map I didn't. That could break code when pulling changes from TerriaJS to update to their latest version.
Note: most components created around 2015 in terria use mixing, which are rather obsolete since a few years ago. I tried some refactoring following HOC (Composable with High Order Components), see post, but when wrapping the components the layout breaks. I would either leave them as they are since they don't break functionality or create a new technical debt separately for classes with mixins.