Showing 2 posts by,

William Cabrera

Introduction Since I heard about snapshot testing at the 2017 React Europe conference, I was curious about this new tool for my daily testing. I must admit that I am a Mocha lover but Jest really caught my attention with this feature. At some point during testing, everyone has to print the expected result of the test and copy it to your test file. Now, with Jest snapshots, this is not required anymore. Jest will save the expected result for us. Y

In this article, we will learn how to convert our Android Java View components to React Native. This is especially interesting if we need to use a Java UI library or implement a custom View component in our React Native app. React native offers two binding options for Native Android. Native Modules Native UI Components The first one calls a native operation from the Javascript side, e.g. establishes a Bluetooth connection, reads a value from a se