Skip to content

Instantly share code, notes, and snippets.

View manikandanraji's full-sized avatar

Manikandan Raji manikandanraji

View GitHub Profile
@manikandanraji
manikandanraji / Refactoring UI.org
Created December 29, 2022 15:59
Notes from reading the book "Refactoring UI"

Starting from Scratch

Start with a feature, not a layout

  • An app is actually a collection of features.
  • Instead of starting with the shell, start with a piece of actual functionality.

Detail comes later

  • In the earliest stages of designing a new feature, it’s important that you don’t get hung up making low-level decisions about things like typefaces, shadows, icons, etc.
@manikandanraji
manikandanraji / Learning Typescript.org
Created December 29, 2022 15:55
Notes from reading the book "Learning TypeScript"

Functions

Function Parameters

  • Without explicit type information declared, TypeScript will consider the function parameters to be the any type, meaning the parameter’s type could be anything.
  • TypeScript allows you to declare the type of function parameters with a type annotation.

Required Parameters