Just notes on problems I face:
-
How to use a Remix form with an action without following its URL
I’m relatively new to remix.run and try to follow the best practices (e.g. use forms for everything). Today I wanted to have a form for an action that does not update the URL. If I kept it with the default form, refreshing the page would lead to an error because I didn’t want to add…

-
Investment Advice: Time-and-forget
My de-gen advice for investment is “Time-and-forget”. Try to time the market (where you might fail), but invest for the long run and diversify to compensate for the potentially stupid entry. There is great pleasure in timing the market and being correct, but still, there is wisdom in the classic investment advice. Warning: I’m a…

-
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…



