Frontend Guidelines - Paprikas/rails_cheat_sheet GitHub Wiki

Tech stuff

  1. Use yarn 3 or above instead of npm or older yarn. It is way more faster.
  2. Use spaces vs tabs. No comments
  3. Don't mix code formatting with actual changes in one commit.

UI

  1. Always check that buttons are disabled when request is in progress.