Frontmatter
| id | 1129 |
| title | importing component.Base => code shortening / cleanup |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Aug 24, 2020, 9:48 AM |
| updatedAt | Aug 24, 2020, 10:15 AM |
| githubUrl | https://github.com/neomjs/neo/issues/1129 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Aug 24, 2020, 10:15 AM |
using
import {default as Component}most of the time, since the class name is Base.however, Base is the default export (and the only one), so we can reduce this to
import Component.