User-Hostile Unsubscribe Forms

I'm a bit of a stickler for good user experience design. One of my biggest grievances has to do with how companies treat their users who want to unsubscribe to their email newsletters. Some do it right (they usually go with MailChimp or another pain-free one-click unsubscribe service). Others make…

Using AlertIOS.prompt in React Native

AlertIOS.prompt accepts a couple of parameters. Let's take a look at them: AlertIOS.prompt( 'Title', 'Default Value', [{text: 'Button One', onPress: this.firstButtonPress.bind(this)}, {text: 'Button Two', onPress: this.secondButtonPress.bind(this)}] ) The first parameter that AlertIOS.prompt accepts is the title -- what gets displayed to the…

Persisting TabBars in React Native

Update, November 14 2016: It's been brought to my attention that a fix has been implemented in React Native v0.38 from this commit that fixes the underlying issue that causes NavigatorIOS components to not be usable when nested within each other. Moving forward with the official stable release of…

Making AJAX calls with Fetch in React Native

I've been playing around with React Native a bit and found myself wishing for more documentation, especially with Fetch. While MDN has a treasure trove of information, a lot of constructors for it (such as Request, Response, and Header) are not available in React Native (at least as of the…