Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 677 Bytes

File metadata and controls

39 lines (26 loc) · 677 Bytes

Code convnetions

  • use camelCase on all variables
  • descriptive variable and method names
  • No "else" if the "if" statement contains "return"

Github convention

1. Bruk prefixes

  • feat/
  • hotfix/
  • fix/
  • throwaway/
    etc..

2. Prøv å ha "short and sweet" navn

  • hotfix/bug-when-user-tries-to-use-æøå-in-poll-title-the-server-dies

  • hotfix/æøå-crash

3. Ved merge skriv gjerne en liten "changelog" (spesielt på større merges)

Eksempel


Added

  • Route guarding.
    1. Private polls
    2. Admin page
    3. My polls page

Changed

  • Now always warns user before they can navigate back
  • History mode instead of hash mode in router.