Say you want an Apple Photos-style image previewer for your app. Where would you start? You might start brainstorming a complex mix of JS libraries for zooming, panning shared element transitions, pop ups and more. And weeks later, after thousands of lines of gesture logic and an imperfect solution, you'll wonder if there was a simpler way. In this talk, we'll demystify the use of native code in React Native.
I'll show you how I built a beautiful image previewer in just a few hours by wrapping an existing Swift library, showing you how you could make your own. We'll explore a simpler mindset for solving complex UI problems in React Native, shifting the default from, "which JS libraries could I use" to "what is the best native implementation"?