Skip to content

Client side

Tom Richards edited this page Jun 24, 2020 · 14 revisions

React

TODO

State Management

TODO

  • standard react state, prop drilling and contexts rather than things like Redux (also mention browser history state with link to 'Flows')
  • Mix of class based and hooks based

TypeScript

As with the entire codebase we use TypeScript.

You will observe a convention for defining the shape of props and state with interfaces of the same name as the component plus Props or State respectively (e.g. MyStatefulComponent will have interfaces defined somewhere near called MyStatefulComponentProps and MyStatefulComponentState).

TODO

Emotion 💅 (styled components / CSS)

TODO

Clone this wiki locally