Nick Drane

  • Hire Me
  • About Me
Wed Sep 27 2017

Leveraging Immutability in React

React has taken the web development community by a storm, and with it functional programming concepts have embedded themselves in the mainstream. One common statement you will often read is that all state in React should be immutable, and this practice is justified as necessary for performance reasons. This statement is entirely true, but it only tells half the truth. Immutability alone will not yield any performance gains in React (it'll actually make things slower).

Most Popular Posts

  • Scraping the Web with Puppeteer: Lessons Learned
  • Build Your Own Nested Query String Encoder/Decoder
  • Build Your Own Regex in Less Than 40 Lines of Code
  • Write Your Own React-Redux Connect
  • The Hidden Costs of PostgreSQL's JSONB Datatype

Most Recent Posts

  • Manipulating Raw HTML in Node with the Visitor Pattern
  • Optimizing Gatsby Build Times for Large Websites Using pageContext
  • One Simple Performance Tip to Optimize GatsbyJS Static Sites
  • A Deep Dive into JavaScript Static Site Generators: Gatsby vs. Hexo
  • Using Shell Commands to Effortlessly Ingest Line-Delimited JSON into PostgreSQL

categories

  • Architecture (1)
  • Build Your Own (3)
  • Functional Programming (1)
  • Gatsby (3)
  • Immutability (1)
  • JavaScript (3)
  • Javascript (2)
  • Postgres (2)
  • React (2)
  • Redux (1)
  • Regular Expressions (2)
  • Shell (1)
  • Software Ethics (1)
  • Technical Hiring (1)
  • Testing (1)
  • Web Scraping (1)