/game-of-life-2021

Demonstrates some new tech

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Game of life 2022

Purpose

  • Explore and learn some cool new tech.
  • Have fun.
  • Feed unhealthy fixation of building the most enterprise level game of life.

Getting started

# Install packages
npm ci

# Install husky
npm run prepare

# Run tests
npm test

# Run the app
npm run dev

New cool tech

  • Simple client side navigation/routing. (Avoiding page refresh)
  • Code splitting & prefetching
    • Each page only loads what’s necessary
      • Homepage loads quickly
      • Pages become isolated. (If one page throws an error, the rest of the application would still work)
    • Automatically prefetches the code for the linked page in the background
      • The next page transition will be near-instant.
  • <Image> component
    • Ensuring they are responsive on different screen sizes
    • Optimised
    • Lazy loaded by default and load when they enter the viewport.

  • Simple, modular and accessible component library

Familiar tech used