Frontmatter
| id | 2862 |
| title | re-evaluate the default export syntax |
| state | Closed |
| labels | enhancement |
| assignees | [] |
| createdAt | Jan 31, 2022, 11:50 PM |
| updatedAt | Feb 1, 2022, 9:17 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2862 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 1, 2022, 9:17 PM |
so far i am using the format:
export {MainContainer as default};we could probably shorten it to:
export default MainContainer;i can no longer remember why i picked the named syntax, it might have been because of the compatibility table: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
will take a look into this shortly.