Standing up your app in a test environment before taking an image snapshot can be a struggle, especially if the app is driven by disparate data sources. Learn about a testing recipe we have adopted at American Express that uses jest-image-snapshot and Parrot to write image snapshot tests in a consistent and reliable way.
Clean code is a consistent style of programming that makes your code easier to write, read, and maintain. Discover how to make your React code cleaner using easy-to-follow examples.
In React, Render Callbacks are a powerful alternative to Higher-Order Components (HOCs). Learn why you should avoid using one of the most popular implementations, Function as Child Components, and discover a better solution called Component Injection.