Monthly Archives: December 2016

React (TypeScript): infinite scroll

Recently I had to use an infinite scroll (lazy loading).  It took me a while to find a solution that worked well for my very simple case (lazy loading items in an infinite scroll fashion).  Hopefully this will save somebody … Continue reading

Posted in Uncategorized | Leave a comment

ReactJS: Uncaught TypeError: Cannot read property of undefined

Problem You get: Uncaught TypeError: Cannot read property of undefined This is due to react trying to render components that rely on variables that haven’t yet been set (quite a common occurence). Solution You can use conditional rendering shortcut to … Continue reading

Posted in Uncategorized | Leave a comment