Tag: web development

How to Optimise React with useMemo and React.memo

There comes a time when we have to worry about more than just making sure our applications work, but that they work optimally. When using react, we have certain tools at our disposal to make sure our applications are optimised. In this article, I will demonstrate how to achieve this using React.memo and the useMemo […]

Testing React App With Jest & Puppeteer

So you’ve created your react application and now you have to write end-to-end tests in order to make sure your application works as expected from the end user’s perspective. In this article, I will provide a simple step-by-step guide on how to achieve this using the Jest testing framework and the Puppeteer library.

5 Mistakes I Made as a New Programmer

As a new programmer, there are multiple pitfalls awaiting you in your learning process. In fact, a lot of these mistakes are necessary as they reinforce learning through experience. However, encouraging learning through mistakes is not equivalent to encouraging making any/all mistakes possible. It is wise to not only learn from your own mistakes but […]

Using Environment Variables In Flask Configuration

I’ve written an article about handling flask configurations. In that article, I discussed 2 ways in which we can handle application configuration. However, there is a third method of handling flask configurations that I did not discuss: using environment variables. In this article, I’m going to expound on this method and provide code examples.