Overview - Why native modules extend capabilities
What is it?
Native modules are pieces of code written in platform-specific languages like Swift for iOS or Kotlin for Android. They let React Native apps do things that JavaScript alone cannot, such as accessing device hardware or system features. By connecting JavaScript with native code, apps can use advanced capabilities smoothly.
Why it matters
Without native modules, React Native apps would be limited to what JavaScript can do, missing out on many device features like camera controls, sensors, or background tasks. Native modules solve this by bridging the gap, enabling apps to feel fast, powerful, and fully integrated with the device.
Where it fits
Before learning native modules, you should understand React Native basics and JavaScript. After this, you can explore creating custom native modules or using third-party ones to add advanced features to your app.