Think beyond horizon
Think beyond horizon
Photo by Ante Hamersmit on Unsplash

Creating an app with strong offline-first support is always a challenge. All resources need to be downloaded beforehand and some of these resources could be your custom html/js files that you would like to be accessible to users when they are offline.
In this article, we will talk about how to load such resources in react-native-webview.
Note, only use react-native-webview when you truly need it or when you want to a keep consistent user experience across web and mobile platforms with little effort.

Here is a high-level summary of the steps we need-

  • Get JS files into app assets
  • Copy…

So I went to the polar bears and told them ‘You all are dumb’, without saying anything, they attacked me.

I imagined that I must have hurt their feelings so I went again, this time I said ‘Guys you are not dumb’, again without saying anything, they attacked me. I realized that they must have assumed a hidden sarcasm in my words.

I decided to let things settle for a week and try again; this time I said ‘Guys I am sorry’. Unsurprisingly I was attacked again. Barely escaping this time, it occurred to me that they are both dumb and deaf.

Originally published at on August 22, 2015.


Code I do

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store