1
0
mirror of https://github.com/vector-im/hydrogen-web.git synced 2025-01-09 19:56:44 +01:00
2020-09-03 11:28:27 +02:00

390 B

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
  • should we return promises from storage mutation calls? probably not, as we don't await them anywhere. only read calls should return promises?