In case you have such an issue, and verify that you don’t call history.push() 2 times, check your content for an iframe. TL; DR: React tries to minimize re-rendering and will reuse the iframe element by just changing its src. This will update the history object, which is apparently shared with the main page (and… Continue reading In a React app, I need to press the back button 2 times in order to go to the previous page
Category: Uncategorized
EAS Build Fails on :app:bundleReleaseJsAndAssets_SentryUpload FAILED
I’m trying to migrate a managed expo app from Expo Classic build to EAS. After doing all the changes mentioned on the Migration to EAS Page, I still got an error while trying to build with `eas build -p android` The error was > Task :app:bundleReleaseJsAndAssets_SentryUpload_24 FAILED[stderr] error: project not found Well, the error seems… Continue reading EAS Build Fails on :app:bundleReleaseJsAndAssets_SentryUpload FAILED
React Native Shadow is Missing on iOS but is Okay on Android
In one of our projects, some of the items that had a shadow, was working just fine on Android, but the shadow was missing on iOS. After investigating it, it turned out to be related to the items that had overflow: ‘hidden’, which on iOS resulted in shadow being trimmed. Turns out on iOS, the… Continue reading React Native Shadow is Missing on iOS but is Okay on Android
ValidationError: “devClient” is not allowed (while using expo and react native)
I ended up getting this error after an unsuccessful attempt to update the expo-cli. The solution was to delete the .expo folder from the project. Good luck! : )
Updating a React Native/Expo image file does not update the visualization of this image everywhere in the app
I’ve had an interesting problem when saving and updating images in a React Native application built with Expo. I’m building an app that has contacts and images (that are either taken from the phone contact entry or picked from the gallery). The issue was that editing the image at one place and saving it, would… Continue reading Updating a React Native/Expo image file does not update the visualization of this image everywhere in the app
Getting an error while trying to debug JEST tests
Do you get something like:“Error: Cannot find module ‘D:\project_folder\package.json’”And your require stack contains paths.js, env.js and test.js? Well, you have to both configure the runtimeExecutable and the cwd. This error is because you’re running the tests from outside your directory.
Tips for Meaningful Interviews with Developers
Lately I’ve been recruiting people for our Front-End team at Up2 Technology. I am quite satisfied with the process so I decided to share it with you. This is a non-extensive list with the guidelines I’m trying to follow in order to have an interviewing process satisfying for both me and the people applying. Empathy… Continue reading Tips for Meaningful Interviews with Developers
AWS S3 and it’s informative errors – 404, “NoSuchUpload”
I’m continuing with my exploration in the AWS world 🙂 For the last couple of days, I have been occasionally receiving the weird error “NSuckUpload” when I try to either upload a part to an S3 Multipart upload or try to complete the upload with given UploadId. S3 Multipart Upload is the way you upload… Continue reading AWS S3 and it’s informative errors – 404, “NoSuchUpload”
AWS Closes S3 Read Stream Unexpectedly
I’m continuing with my notes on transferring big files from and to AWS S3 with node.js If you are reading a file from a S3 bucket using a stream that you occasionally pause, mind that the read stream will be closed in 60 minutes. If you cannot handle the file in that period of time,… Continue reading AWS Closes S3 Read Stream Unexpectedly
Testing with Jest in a node and ReactJS monorepo (and getting rid of environment.teardown error)
Big number of the applications we develop have at least one ReactJS UI, that is held in one repo and an API, held in another. If we need to reuse some part of the code, we do so by moving it to another repository and adding it as a git submodule For our latest project… Continue reading Testing with Jest in a node and ReactJS monorepo (and getting rid of environment.teardown error)