July 11, 2023 • 6 min read
February 10, 2022 • 6 min read
Have you ever wondered why your component is re-rendering multiple time consecutively when you only expect it to re-render once? Perhaps you update some local state and somehow multiple renders occur as a result? Lets take this hooks based example:
January 20, 2022 • 4 min read
Date and time can be tricky when you consider time zones, client side vs server side time and determining the best patterns for handling database records based on date and time. Considerations on how to store date and time server side usually comes down to how easy it is to retrieve a record based on some time fields, how easy it is to manipulate and how readable the format is.
November 3, 2021 • 6 min read
September 1, 2021 • 4 min read
Programming paradigms refer to the style of programming you choose to implement in your codebase. The paradigms are a way to logically write and structure your code. It is not a strict set of rules set by your browser, IDE or compiler, however certain languages or frameworks may be opinionated about which paradigm is preferred. We will be exploring three paradigms with working examples and comparisons. Firstly, a general overview of each paradigm:
June 9, 2021 • 5 min read
Ever since I learnt how to create websites using React, my go to boilerplate starter code was to use Create React App. It is the easiest way to learn React and the fastest way to get a website up and running. After creating my own website using Create React App, I quickly found the pitfalls of having a client rendered SPA (Single Page Application).
May 20, 2021 • 2 min read
April 7, 2021 • 6 min read
After 4 long months and 475 hours of development I have finally deployed my first mobile app to their respective app stores. In the grand scheme of things I am not sure if this is a long time for developing a mobile app or if it's a relatively quick development lifecycle. To get closer to a definitive answer, i'll break down what the app is and what's its scope, what technologies I used to create the app, the motivation behind the app and what I hope to get out of creating the app.
December 1, 2020 • 3 min read
Expo is a great third party wrapper for React Native that aids the speed of development and deployment. The Expo SDK provides developers with a lot of mobile native features out of the box and does all the heavy lifting. Another great feature of Expo is the ability use their mobile app to test your app on real devices without having to use Android Studio or XCode.