How to add support for Dark and Light themes in React Native apps

Dark mode apps are a great way to enhance the user experience for a mobile app. Many commonly used and famous applications have support for dark mode now. With iOS and Android releasing a platform based support for dark and light themes in their latest OS release, it is tempting and a good feature to implement.

This is a companion discussion topic for the original entry at