Abbass's Blog
-
-
-
-
Three methods to Access environment variable values in Python
In Python, you can access environment variables using the os
module, which provides a property called environ
that contains the environment variables. In this post, I will share with you three methods to access environment variable values in Python.
Make Your Titles More Readable: React Wrap Balancer
React Wrap Balancer is a simple React Component that makes your titles more readable in different viewport sizes. It improves the wrapping to avoid situations like single word in the last line, makes the content more 'balanced'.
Improve Next.js Performance: Move Shared Components to Global Layout
Through Next.js's Global Layout, reduce the redundant loading of components to improve web performance.
Updating an Outdated Create React App (CRA) to Support TypeScript 5.x
Create React App (CRA) was officially deprecated by Facebook, and it's time to move on to other alternatives. However, we can still use CRA with TypeScript 5.x
by adding overrides
to the package.json
. Let's see how to do it!
How to Make Your React TypeScript Project More Elegant with map()
With React TypeScript and map()
, you can create a more elegant personal blog. In this article, I share how to use the map()
method to handle dynamic rendering of blog post lists and show the thought process of implementing the modification suggestions provided by ChatGPT.