mdo/code-guide

Add new JS section

mdo opened this issue · 0 comments

mdo commented
  • Consider a third general section for JS
  • Include updates for React, Vue, Svelte, etc?

Some general thoughts:

  • Let/const over var
  • No semicolons
  • arrow functions vs “normal” functions?
  • variable names camelcase?
  • Function names?
  • JS linter of choice?
  • Async loading