Lecstor's Blog

Jason Galea

Written by Jason Galea from Cairns, Australia.

Full Stack developer specialising in React and NodeJS.

LinkedIn | Github | StackOverflow | Twitter

Code Splitting and Tree Shaking Webpack Gotchya

August 18, 2019

TL;DR if you’re building an SPA and plan to use Code Splitting you should ignore tree shaking and structure your modules and imports…

Optimising with React.memo

March 21, 2019

Takeaway: keep your memoed components focussed and their props shallow, and prefer simple solutions over complexity. skip to the flip The…

A Journey from Google Cloud Functions to Appengine Flex

February 26, 2019

My goal was to deploy a basic React app with a server backend to the Google Cloud Platform. For learnings I decided to use Google Cloud…

Kafka/Protobuf Cheatsheet

January 30, 2019

Tools for working with Kafka and Protobufs - all about dumping messages to the console at this point. Kafkacat https://medium.com…

Golang Cheatsheet

January 27, 2019

Learning Go, so started recording references to all the useful things I find so I can find them again when I need them.. Install or download…

Go - clear cache

January 26, 2019

When trying to run or I was getting errors such as: I boiled it down to something wrong in my setup as I was unable to replicate the…

React does not fire onMouseLeave events on a disabled button

December 22, 2018

Posting as this was decently difficult to diagnose while researching and testing 3rd party popover/tooltip components. The button component…

Reusable React Components [WIP]

December 09, 2018

Building a reusable component library for your app will speed up development, increase consistency of the UI, and reduce the total download…

Testing Code

March 10, 2018

Some thoughts on testing - the what and the how (javascript). Testing The primary reason for writing automated tests is to ensure that your…

Building a PDF writer

February 10, 2017

A PDF file is basically a set of object serialised in a specific format similar to PostScript. Our initial goal is to be able to place text…

MongoDB Upgrade 2.4 to 2.6 in Debian

May 13, 2014

When upgrading to the latest and greatest MongoDB (2.6) the first thing you have to do is run a check on your databases. Specifically the…

How to create PDF documents

April 21, 2014

Adobe’s Portable Document Format (PDF) files have almost become the standard for preparing well-formatted documents. There are PDF readers…

Something about Perl

January 17, 2012

Perl is used extensively all over the world in production, doing the job, all the time. Modern Perl takes the solid base that is Perl5 an…

Using Catalyst with a Fat Model

December 04, 2011

Today I’m going to talk about using a fat model in Catalyst. When I started using Catalyst and eventually got my head around all the parts…