Skip to content

Instantly share code, notes, and snippets.

View elsmr's full-sized avatar
✌️

Elias Meire elsmr

✌️
View GitHub Profile
@teebot
teebot / parcel_and_typescript_react.txt
Created April 26, 2018 09:29
Parcel and Typescript React
npm install -g parcel-bundler
npm init -y
npm i react react-dom @types/react @types/react-dom
tsc --init
======tsconfig.json=======
uncomment and set jsx to "react"
leave rest as default

Motivation

  • expression-oriented programming one of the great advances of FP
  • expressions plug together like legos, making more malleable programming experience in-the-small

Examples

Write in an expression-oriented style, scoping variables as locally as possible: