Is React A Good Pick For 2022?
Are you wondering if React is a good fit for you in 2022? Read this article to find out.
I am a React Tech Leader with a holistic approach to crafting code. Thanks to my years of experience I build clean and maintainable software solutions for our clients. I always take ownership of the application and put extra effort to improve the UX and assumptions behind the features I implement.
Quite often there are situations when part of the application appears multiple times, most of the usages are the same but they require different logic here and there. In this article, I would like to present the problem I have encountered along my programming way, its solution and the refactoring results.
This article will focus on E2E testing. E2E tests are conducted by a robot, that is mimicking user's interactions with the app. In my React Native application, I use Detox for testing selected user paths. Detox is a library that lets us prepare Gray Box tests.
In the examples, the testing stack is Jest and Enzyme, but this pattern can be used in any other combination of test runner and renderer. I would like to show you the simple pattern that we are using in Selleo, and how it came to life.