✨ Welcome to LocalUsr.com
; a blog that aims to provide information about software development & the issues that developers encounter during software development.
Nov 15, 2022
:: Martin Musale
#typescript
#react
When using create-react-app
to generate a React project, you might want to use JavaScript code that you are developing externally from the react project, However, create-react-app
has a plugin that blocks referencing files that are in the external src
folder of the react project. In this article, I show you how to reference external files and use them in the react project.
Jan 13, 2022
:: Martin Musale
#prettier
#coding
During your coding, you might encounter a prettier
problem where
it shows a list of files that have coding styles issues. After that you’re
asked if you ran prettier? Huh? I will show you how to fix that.
Jan 12, 2022
:: Martin Musale
#git
#linux
In git, you can merge two branches that do not have a common base. However, this leads to creation of a new history for your project. In the event that the histories of the two branches are not the same, you will encounter an error that forbids merging unrelated histories. This article will show you how to fix this error.
Jan 11, 2022
:: Martin Musale
#zsh
#linux
Once in a while, you will come across an error like “corrupt history file” when using the ZSH shell after doing something like a hard shutdown of your computer. This error can easily be fixed by re-writing the history file. In this article, the history file is named .zsh_history which is always the case but if the error shows a different file name, substitute that in.