This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/codestyle.md
2020-08-31 16:22:03 +02:00

7 lines
245 B
Markdown

# Code-style
- methods that return a promise should always use async/await
otherwise synchronous errors can get swallowed
- only named exports, no default exports
otherwise it becomes hard to remember what was a default/named export