Category: Technology
-

VSCode Tip of the Day – Go to References
You can see all the locations in your project that use a React component (or a function), by right-clicking its definition and pressing “Go to References” And a shortcut I need to learn to use more often is Shift+F12 for it 🙂
-

React Native BottomSheetBackdrop not showing
I am using the BottomSheet and BottomSheetModal (@gorhom/bottom-sheet) in a react native app – it brings the fluid experience a user would expect from a native app. Recently I had an issue with the Backdrop, where it wouldn’t show (I was using it with a BottomSheetModal). It turns out, that to make it render you…
-

Expo run:ios fails with something went wrong in the podfile (in VSCode terminal)
I was trying to create a dev build for an expo app locally by running npx expo run:ios, but this kept failing with the following error: After some time spent debugging, installing a newer ruby version, re-installing cocoapods and nuking whatever cache I could think of, it turned out to be due to the VS…
-

Debugging React Unit Tests in a Monorepo with NX
After using NX for over a year, it’s frustrating that there is very sparse documentation on debugging with VSCode or using it with React. I finally decided to dig into setting up my debugging profile for our unit tests (because I was fed up with console.log – ing them). I found this YouTube video by…
-

Open a specific Google Chrome Profile from the Mac OSX Terminal
I’ve been looking for this a few times and the best answer for Mac needs scrolling hidden in this tread – https://superuser.com/questions/377186/how-do-i-start-chrome-using-a-specified-user-profile#answer-1677353 So to open it in OSX, you open it using the full path, and provide the profile directory. Since there is no obvious way to say which profile is located in which directory…
-

Missing Response.statusText under HTTPS (e.g. Unauthorized is empty string)
We have a generic error handling, that shows an error to the user when a request fails. The error contains information on when it happened, and the status text of the response. (response.statusText). Recently we discovered that the statusText was missing in the screenshot of one our the reported bugs. It turned out that response.statusText…
-

Windows 11 to MacOS
Here’s my random impression on transitioning to MacOS after a long time on Windows. Backstory: On 29.12.2023 I started using a Mac as my primary machine. I’ve been using Windows for a lot of time now. Had some experiments with Ubuntu more than 10 years ago, and was occasionally using a Mac for iOS app…
-
WordPress pages are not found on the website but are present in the dashboard
I have a friend with a website that uses qTranslate for the translations. After digging through the logs, cleaning the cache, updating all the plugins and themes, updating the PHP version, and removing everything from the .htaccess, it turned out to be due to the qTranslate. No idea what exactly happened, but switching the default…

